===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_bgp.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: R-1,R-2,R-3,R-4,R-5
H/TG Devices: None
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4,R-5 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_bgp.yaml
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4,R-5 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_bgp.yaml --showlocals --assert plain --show-capture no -rav --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
19:15:46 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
19:15:47 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
19:15:48 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
19:15:48 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
19:15:49 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
19:15:50 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
19:15:51 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
19:15:51 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
19:15:51 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
19:15:51 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:51 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
19:15:51 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
19:15:51 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo19:15:51 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc19:15:51 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:53 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:53 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
19:15:53 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
19:15:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
19:15:54 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
19:15:54 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
19:15:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
19:15:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:56 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
19:15:57 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:59 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:15:59 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
19:15:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
19:15:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
19:15:59 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:00 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
19:16:00 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
19:16:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
19:16:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
19:16:02 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:04 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:05 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
19:16:05 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
19:16:06 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
19:16:06 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:07 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
19:16:07 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:07 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
19:16:07 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:08 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
19:16:08 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:08 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
19:16:09 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:11 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:11 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
19:16:11 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
19:16:12 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
19:16:12 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:12 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
19:16:12 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:13 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
19:16:13 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:13 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
19:16:13 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:14 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
19:16:14 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:17 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-5
19:16:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle
19:16:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle
19:16:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:18 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.os_version" to /data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle
19:16:18 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:18 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.feature_status" to /data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle
19:16:18 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle
19:16:19 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
19:16:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property19:16:21 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
19:16:21 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
19:16:21 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
19:16:21 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
19:16:21 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.55
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context19:16:21 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)19:16:21 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
19:16:22 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
19:16:22 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
19:16:23 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-1
19:16:24 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
19:16:24 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
19:16:25 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
19:16:25 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-2
19:16:26 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
19:16:26 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
19:16:27 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
19:16:27 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-3
19:16:28 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
19:16:28 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
19:16:29 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
19:16:29 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-4
19:16:30 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-5
19:16:31 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-5
19:16:31 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-5
19:16:31 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-5
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)19:16:32 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_bgp.yaml
19:16:32 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_bgp.yaml
19:16:33 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_bgp.yaml
19:16:33 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario19:16:33 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)19:16:43 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
19:16:43 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
19:16:43 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
19:16:43 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
19:16:43 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
19:16:43 transport._log L1873 INFO | Authentication (publickey) failed.
19:16:43 transport._log L1873 INFO | Authentication (password) successful!
19:16:43 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:01:24 2026
admin@R-1:~$
19:16:45 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
19:16:45 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
19:16:45 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
19:16:45 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
19:16:45 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
19:16:45 transport._log L1873 INFO | Authentication (publickey) failed.
19:16:45 transport._log L1873 INFO | Authentication (password) successful!
19:16:45 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:18 2026
admin@R-2:~$
19:16:47 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
19:16:47 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
19:16:47 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
19:16:47 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
19:16:47 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
19:16:47 transport._log L1873 INFO | Authentication (publickey) failed.
19:16:47 transport._log L1873 INFO | Authentication (password) successful!
19:16:48 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:29 2026
admin@R-3:~$
19:16:49 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
19:16:50 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
19:16:50 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
19:16:50 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
19:16:50 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
19:16:50 transport._log L1873 INFO | Authentication (publickey) failed.
19:16:50 transport._log L1873 INFO | Authentication (password) successful!
19:16:50 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:36 2026
admin@R-4:~$
19:16:51 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
19:16:52 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.55/24': {'gwaddr': '10.250.0.1'}}
19:16:52 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-5
username:admin
password:password
19:16:52 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
19:16:52 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
19:16:52 transport._log L1873 INFO | Authentication (publickey) failed.
19:16:52 transport._log L1873 INFO | Authentication (password) successful!
19:16:52 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:42 2026
admin@R-5:~$
19:16:53 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-5
19:16:53 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)19:16:53 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
19:16:53 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)19:16:54 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
19:16:54 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
19:16:55 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
19:16:55 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
19:16:55 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-5
19:16:56 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
19:16:56 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
19:16:56 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
19:16:56 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
19:16:57 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
19:16:57 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.134310 seconds
19:16:57 __init__.analyzer_add_marker L0035 INFO | add marker called on R-1
19:16:57 __init__.analyzer_add_marker L0035 INFO | add marker called on R-2
19:16:57 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-2
19:16:57 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-1
19:16:57 __init__.analyzer_add_marker L0035 INFO | add marker called on R-3
19:16:57 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-3
19:16:57 __init__.analyzer_add_marker L0035 INFO | add marker called on R-4
19:16:57 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-4
19:16:57 __init__.analyzer_add_marker L0035 INFO | add marker called on R-5
19:16:57 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-5
19:16:59 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
19:16:59 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
19:17:00 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
19:17:00 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
19:17:00 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
19:17:00 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:02.975288 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
19:17:00 test_sonic.run_scenario L0098 INFO | test device hostname: , , , , ]>
19:17:00 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
19:17:00 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
19:17:00 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:17:00 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
19:17:00 test_sonic.run_scenario L0130 INFO | nodes: R-1
19:17:00 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-1
node name:
R-1
19:17:00 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:01:24 2026
admin@R-1:~$
19:17:00 test_sonic.run_scenario L0144 INFO | step 3)
pass
19:17:00 test_sonic.run_scenario L0130 INFO | nodes: R-2
19:17:00 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-2
node name:
R-2
19:17:00 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:18 2026
admin@R-2:~$
19:17:00 test_sonic.run_scenario L0144 INFO | step 3)
pass
19:17:00 test_sonic.run_scenario L0130 INFO | nodes: R-3
19:17:00 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-3
node name:
R-3
19:17:00 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:29 2026
admin@R-3:~$
19:17:00 test_sonic.run_scenario L0144 INFO | step 3)
pass
19:17:00 test_sonic.run_scenario L0130 INFO | nodes: R-4
19:17:00 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-4
node name:
R-4
19:17:00 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:36 2026
admin@R-4:~$
19:17:00 test_sonic.run_scenario L0144 INFO | step 3)
pass
19:17:00 test_sonic.run_scenario L0130 INFO | nodes: R-5
19:17:00 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-5
node name:
R-5
19:17:00 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:42 2026
admin@R-5:~$
19:17:00 test_sonic.run_scenario L0144 INFO | step 3)
pass
19:17:00 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:IP Assign for BGP Func Test
19:17:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-1
node name: R-1
19:17:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.1.1/30'}, {'command': 'sudo config interface ip add Ethernet12 10.1.1.5/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.1.9/30'}, {'command': 'sudo config interface ip add Ethernet16 10.10.1.1/24'}, {'command': 'sudo config interface ip add Ethernet20 10.10.2.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:17:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.1.1/30'}
expect values: []
not expect values: []
19:17:05 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.1.1.5/30'}
expect values: []
not expect values: []
19:17:11 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.1.9/30'}
expect values: []
not expect values: []
19:17:17 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.10.1.1/24'}
expect values: []
not expect values: []
19:17:22 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet20 10.10.2.1/24'}
expect values: []
not expect values: []
19:17:28 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-2
node name: R-2
19:17:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.1.2/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.1.6/30'}, {'command': 'sudo config interface ip add Ethernet12 10.1.3.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.20.0.1/24'}, {'command': 'sudo config interface ip add Ethernet20 10.20.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:17:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.1.2/30'}
expect values: []
not expect values: []
19:17:34 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.1.6/30'}
expect values: []
not expect values: []
19:17:39 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.1.3.1/24'}
expect values: []
not expect values: []
19:17:45 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.20.0.1/24'}
expect values: []
not expect values: []
19:17:50 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet20 10.20.1.1/24'}
expect values: []
not expect values: []
19:17:56 test_sonic.run_scenario L0244 INFO |
execute command result:
19:17:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:17:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:17:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-3
node name: R-3
19:17:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 10.1.1.10/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.3.2/24'}, {'command': 'sudo config interface ip add Ethernet12 10.30.0.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.30.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], []]
sub scenario not expect values: [[], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:17:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 10.1.1.10/30'}
expect values: []
not expect values: []
19:18:02 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.3.2/24'}
expect values: []
not expect values: []
19:18:07 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.30.0.1/24'}
expect values: []
not expect values: []
19:18:13 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.30.1.1/24'}
expect values: []
not expect values: []
19:18:19 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-4
node name: R-4
19:18:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.4.1/24'}, {'command': 'sudo config interface ip add Ethernet8 10.1.3.3/24'}, {'command': 'sudo config interface ip add Ethernet12 10.40.0.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.40.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], []]
sub scenario not expect values: [[], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:18:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.4.1/24'}
expect values: []
not expect values: []
19:18:25 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.3.3/24'}
expect values: []
not expect values: []
19:18:31 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.40.0.1/24'}
expect values: []
not expect values: []
19:18:36 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.40.1.1/24'}
expect values: []
not expect values: []
19:18:42 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-5
node name: R-5
19:18:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 10.1.4.2/24'}, {'command': 'sudo config interface ip add Ethernet8 10.50.0.1/24'}, {'command': 'sudo config interface ip add Ethernet12 10.50.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:18:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 10.1.4.2/24'}
expect values: []
not expect values: []
19:18:47 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.50.0.1/24'}
expect values: []
not expect values: []
19:18:53 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.50.1.1/24'}
expect values: []
not expect values: []
19:18:59 test_sonic.run_scenario L0244 INFO |
execute command result:
19:18:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:18:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:18:59 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:RIP ISIS OSPF Daemon Running
19:18:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RIP ISIS OSPF Daemon Running R-1
node name: R-1
19:18:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:18:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
19:19:06 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:18:59 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:18:59 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
19:19:13 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:06 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:06 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
19:19:21 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:14 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:14 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RIP ISIS OSPF Daemon Running R-2
node name: R-2
19:19:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:19:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
19:19:28 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:21 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:21 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
19:19:36 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:29 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:29 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
19:19:43 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:36 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:36 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RIP ISIS OSPF Daemon Running R-3
node name: R-3
19:19:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:19:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
19:19:50 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:42 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:42 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
19:19:58 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:50 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:19:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:50 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:19:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
19:20:05 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:19:57 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:19:57 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RIP ISIS OSPF Daemon Running R-4
node name: R-4
19:20:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:20:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
19:20:13 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:05 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:05 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
19:20:20 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:13 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:13 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
19:20:28 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:20 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:20 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RIP ISIS OSPF Daemon Running R-5
node name: R-5
19:20:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], []]
sub scenario not expect values: [[], [], []]
sub scenario retries: 5
sub scenario delay: 1
19:20:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
19:20:35 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:28 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:28 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
19:20:42 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:35 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:35 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
19:20:50 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 19:20:43 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:20:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 19:20:43 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
19:20:50 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:20:50 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:BGP Neighbor Settings
19:20:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.01-SET
node name: R-1
19:20:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:20:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:20:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:20:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200']
19:20:55 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:20:58 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.922 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.859 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.968 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.859/0.916/0.968/0.044 ms
19:20:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:20:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.01-SET
node name: R-2
19:20:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:20:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
19:21:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
19:21:03 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:21:06 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.695 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.704 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.840 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2025ms
rtt min/avg/max/mdev = 0.695/0.746/0.840/0.066 ms
19:21:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.02-VERIFICATION
node name: R-1
19:21:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:21:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 3 3 0 0 0 00:00:06 (Policy) (Policy) N/A
Total number of neighbors 1
19:21:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:21:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 3 3 0 0 0 00:00:06 (Policy) (Policy) N/A
Total number of neighbors 1
19:21:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.02-VERIFICATION
node name: R-2
19:21:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:21:16 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:12 (Policy) (Policy) N/A
Total number of neighbors 1
19:21:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:21:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:12 (Policy) (Policy) N/A
Total number of neighbors 1
19:21:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.03-DELETE
node name: R-1
19:21:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:21:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:21:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:21:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01.03-DELETE
node name: R-2
19:21:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:21:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:21:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:21:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.01-SET
node name: R-1
19:21:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100']
not expect values: []
19:21:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100']
19:21:33 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:21:35 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.967 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.870 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.882 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.870/0.906/0.967/0.043 ms
19:21:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.01-SET
node name: R-2
19:21:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
19:21:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
19:21:40 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:21:43 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.853 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.935 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.923 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2022ms
rtt min/avg/max/mdev = 0.853/0.903/0.935/0.036 ms
19:21:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.02-VERIFICATION
node name: R-1
19:21:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 100', 'Total number of neighbors 1']
not expect values: []
19:21:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:07 0 0 FRRouting/10.3
Total number of neighbors 1
19:21:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 100', 'Total number of neighbors 1']
19:21:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:07 0 0 FRRouting/10.3
Total number of neighbors 1
19:21:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.02-VERIFICATION
node name: R-2
19:21:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:21:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:21:54 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:12 0 0 FRRouting/10.3
Total number of neighbors 1
19:21:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:21:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:12 0 0 FRRouting/10.3
Total number of neighbors 1
19:21:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.03-DELETE
node name: R-1
19:21:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:21:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:21:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:21:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:21:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02.03-DELETE
node name: R-2
19:21:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:21:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:22:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:22:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:04 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:22:04 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Network Function
19:22:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.01-SET
node name: R-1
19:22:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
not expect values: []
19:22:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
19:22:10 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:22:12 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.04 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.830 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.684 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.684/0.849/1.035/0.143 ms
19:22:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.01-SET SONiC BGP Policy
node name: R-1
19:22:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 100" \\\n-c "address-family ipv4 unicast" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "end" \\\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 100" \\\n-c "address-family ipv4 unicast" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "end" \\\n'}
expect values: []
not expect values: []
19:22:18 test_sonic.run_scenario L0244 INFO |
execute command result:
19:22:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:22:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:22:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.01-SET
node name: R-2
19:22:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'network 10.1.3.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'network 10.1.3.0/24']
not expect values: []
19:22:23 test_sonic.run_scenario L0244 INFO |
execute command result:
The route-map 'permit-all' does not exist.
The route-map 'permit-all' does not exist.
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'network 10.1.3.0/24']
19:22:23 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:22:26 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.812 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.922 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2026ms
rtt min/avg/max/mdev = 0.812/0.929/1.055/0.099 ms
19:22:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
The route-map 'permit-all' does not exist.
The route-map 'permit-all' does not exist.
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:22:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.01-SET SONiC BGP Policy
node name: R-2
19:22:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "address-family ipv4 unicast" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "end" \\\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "address-family ipv4 unicast" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "end" \\\n'}
expect values: []
not expect values: []
19:22:31 test_sonic.run_scenario L0244 INFO |
execute command result:
19:22:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:22:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:22:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-1
19:22:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:22:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 9 9 2 0 0 00:00:12 1 2 N/A
Total number of neighbors 1
19:22:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:22:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 9 9 2 0 0 00:00:12 1 2 N/A
Total number of neighbors 1
19:22:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-1
19:22:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*> 10.10.1.0/24 0.0.0.0 0 32768 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*> 10.10.1.0/24 0.0.0.0 0 32768 i']
not expect values: []
19:22:42 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:22:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*> 10.10.1.0/24 0.0.0.0 0 32768 i']
19:22:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:22:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-1
19:22:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:22:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:22:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:37
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:05:37
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:31
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:20
19:22:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:22:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:37
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:05:37
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:31
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:20
19:22:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-2
19:22:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:22:53 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 9 9 2 0 0 00:00:28 1 2 N/A
Total number of neighbors 1
19:22:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:22:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 9 9 2 0 0 00:00:28 1 2 N/A
Total number of neighbors 1
19:22:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-2
19:22:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.0/24 0.0.0.0 0 32768 i', '*> 10.10.1.0/24 10.1.1.1 0 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:22:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.0/24 0.0.0.0 0 32768 i', '*> 10.10.1.0/24 10.1.1.1 0 0 100 i']
not expect values: []
19:22:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 0.0.0.0 0 32768 i
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
Displayed 2 routes and 2 total paths
19:22:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.0/24 0.0.0.0 0 32768 i', '*> 10.10.1.0/24 10.1.1.1 0 0 100 i']
19:22:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 0.0.0.0 0 32768 i
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
Displayed 2 routes and 2 total paths
19:22:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-2
19:22:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:22:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:23:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:30
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:05:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:05:19
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:05:19
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:27
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:05:13
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:05:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:39
19:23:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:23:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:30
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:05:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:05:19
K * 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:05:19
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:27
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:05:13
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:05:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:39
19:23:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.02-VERIFICATION
node name: R-2
19:23:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 3 10.10.1.1'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.10.1.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping -c 3 10.10.1.1'}
expect values: ['64 bytes from 10.10.1.1']
not expect values: []
19:23:11 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.10.1.1 (10.10.1.1) 56(84) bytes of data.
64 bytes from 10.10.1.1: icmp_seq=1 ttl=64 time=0.827 ms
64 bytes from 10.10.1.1: icmp_seq=2 ttl=64 time=0.960 ms
64 bytes from 10.10.1.1: icmp_seq=3 ttl=64 time=0.780 ms
--- 10.10.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.780/0.855/0.960/0.076 ms
19:23:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.10.1.1']
19:23:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.10.1.1 (10.10.1.1) 56(84) bytes of data.
64 bytes from 10.10.1.1: icmp_seq=1 ttl=64 time=0.827 ms
64 bytes from 10.10.1.1: icmp_seq=2 ttl=64 time=0.960 ms
64 bytes from 10.10.1.1: icmp_seq=3 ttl=64 time=0.780 ms
--- 10.10.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.780/0.855/0.960/0.076 ms
19:23:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.03-DELETE
node name: R-1
19:23:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:23:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:23:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:23:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03.03-DELETE
node name: R-2
19:23:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:23:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:23:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:23:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:23:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute Static Function
19:23:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.01-SET
node name: R-1
19:23:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
not expect values: []
19:23:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
19:23:27 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:23:29 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.772 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.873 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.951 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.772/0.865/0.951/0.073 ms
19:23:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.01-SET
node name: R-2
19:23:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 70.1.1.0/24 Ethernet12" \\\n-c "ip route 70.1.2.0/24 Ethernet12" \\\n-c "ip route 70.1.3.0/24 Ethernet12" \\\n-c "ip route 70.1.4.0/24 Ethernet12" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute static" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 70.1.1.0/24 Ethernet12', 'ip route 70.1.2.0/24 Ethernet12', 'ip route 70.1.3.0/24 Ethernet12', 'ip route 70.1.4.0/24 Ethernet12', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute static']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 70.1.1.0/24 Ethernet12" \\\n-c "ip route 70.1.2.0/24 Ethernet12" \\\n-c "ip route 70.1.3.0/24 Ethernet12" \\\n-c "ip route 70.1.4.0/24 Ethernet12" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute static" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 70.1.1.0/24 Ethernet12', 'ip route 70.1.2.0/24 Ethernet12', 'ip route 70.1.3.0/24 Ethernet12', 'ip route 70.1.4.0/24 Ethernet12', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute static']
not expect values: []
19:23:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 70.1.1.0/24 Ethernet12
ip route 70.1.2.0/24 Ethernet12
ip route 70.1.3.0/24 Ethernet12
ip route 70.1.4.0/24 Ethernet12
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute static
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 70.1.1.0/24 Ethernet12', 'ip route 70.1.2.0/24 Ethernet12', 'ip route 70.1.3.0/24 Ethernet12', 'ip route 70.1.4.0/24 Ethernet12', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute static']
19:23:35 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:23:37 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.814 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.04 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.21 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2024ms
rtt min/avg/max/mdev = 0.814/1.019/1.210/0.162 ms
19:23:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 70.1.1.0/24 Ethernet12
ip route 70.1.2.0/24 Ethernet12
ip route 70.1.3.0/24 Ethernet12
ip route 70.1.4.0/24 Ethernet12
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute static
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:23:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-1
19:23:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:23:43 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 5 0 0 00:00:07 4 5 N/A
Total number of neighbors 1
19:23:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:23:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 5 0 0 00:00:07 4 5 N/A
Total number of neighbors 1
19:23:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-1
19:23:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 70.1.1.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.2.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.3.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.4.0/24 10.1.1.2 0 0 200 ?', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 70.1.1.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.2.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.3.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.4.0/24 10.1.1.2 0 0 200 ?', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:23:48 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 70.1.1.0/24 10.1.1.2 0 0 200 ?
*> 70.1.2.0/24 10.1.1.2 0 0 200 ?
*> 70.1.3.0/24 10.1.1.2 0 0 200 ?
*> 70.1.4.0/24 10.1.1.2 0 0 200 ?
Displayed 5 routes and 5 total paths
19:23:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 70.1.1.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.2.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.3.0/24 10.1.1.2 0 0 200 ?', '*> 70.1.4.0/24 10.1.1.2 0 0 200 ?', 'Displayed 5 routes and 5 total paths']
19:23:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 70.1.1.0/24 10.1.1.2 0 0 200 ?
*> 70.1.2.0/24 10.1.1.2 0 0 200 ?
*> 70.1.3.0/24 10.1.1.2 0 0 200 ?
*> 70.1.4.0/24 10.1.1.2 0 0 200 ?
Displayed 5 routes and 5 total paths
19:23:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-1
19:23:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 70.1.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.2.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:23:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 70.1.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.2.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:23:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:43
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:06:43
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:37
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:26
B>* 70.1.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.2.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:26
19:23:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 70.1.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.2.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 70.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:23:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:06:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:06:43
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:06:43
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:06:37
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:06:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:11:26
B>* 70.1.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.2.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 70.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:11:26
19:23:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-2
19:23:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:23:59 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 5 0 0 00:00:22 1 5 N/A
Total number of neighbors 1
19:23:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:23:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 5 0 0 00:00:22 1 5 N/A
Total number of neighbors 1
19:23:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-2
19:23:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 70.1.1.0/24 0.0.0.0 0 32768 ?', '*> 70.1.2.0/24 0.0.0.0 0 32768 ?', '*> 70.1.3.0/24 0.0.0.0 0 32768 ?', '*> 70.1.4.0/24 0.0.0.0 0 32768 ?', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:23:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 70.1.1.0/24 0.0.0.0 0 32768 ?', '*> 70.1.2.0/24 0.0.0.0 0 32768 ?', '*> 70.1.3.0/24 0.0.0.0 0 32768 ?', '*> 70.1.4.0/24 0.0.0.0 0 32768 ?', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:24:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 70.1.1.0/24 0.0.0.0 0 32768 ?
*> 70.1.2.0/24 0.0.0.0 0 32768 ?
*> 70.1.3.0/24 0.0.0.0 0 32768 ?
*> 70.1.4.0/24 0.0.0.0 0 32768 ?
Displayed 5 routes and 5 total paths
19:24:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 70.1.1.0/24 0.0.0.0 0 32768 ?', '*> 70.1.2.0/24 0.0.0.0 0 32768 ?', '*> 70.1.3.0/24 0.0.0.0 0 32768 ?', '*> 70.1.4.0/24 0.0.0.0 0 32768 ?', 'Displayed 5 routes and 5 total paths']
19:24:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 70.1.1.0/24 0.0.0.0 0 32768 ?
*> 70.1.2.0/24 0.0.0.0 0 32768 ?
*> 70.1.3.0/24 0.0.0.0 0 32768 ?
*> 70.1.4.0/24 0.0.0.0 0 32768 ?
Displayed 5 routes and 5 total paths
19:24:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.02-VERIFICATION
node name: R-2
19:24:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route static"'}]
sub scenario expect mode: and
sub scenario expect values: [['S>* 70.1.1.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.2.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.3.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.4.0/24 [1/0] is directly connected, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:24:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route static"'}
expect values: ['S>* 70.1.1.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.2.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.3.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.4.0/24 [1/0] is directly connected, Ethernet12']
not expect values: []
19:24:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 70.1.1.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.2.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.3.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.4.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
19:24:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['S>* 70.1.1.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.2.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.3.0/24 [1/0] is directly connected, Ethernet12', 'S>* 70.1.4.0/24 [1/0] is directly connected, Ethernet12']
19:24:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 70.1.1.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.2.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.3.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
S>* 70.1.4.0/24 [1/0] is directly connected, Ethernet12, weight 1, 00:00:34
19:24:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.03-DELETE
node name: R-1
19:24:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:24:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:24:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:24:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04a.03-DELETE
node name: R-2
19:24:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 70.1.1.0/24 Ethernet12" \\\n-c "no ip route 70.1.2.0/24 Ethernet12" \\\n-c "no ip route 70.1.3.0/24 Ethernet12" \\\n-c "no ip route 70.1.4.0/24 Ethernet12" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 70.1.1.0/24 Ethernet12', 'ip route 70.1.2.0/24 Ethernet12', 'ip route 70.1.3.0/24 Ethernet12', 'ip route 70.1.4.0/24 Ethernet12', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:24:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 70.1.1.0/24 Ethernet12" \\\n-c "no ip route 70.1.2.0/24 Ethernet12" \\\n-c "no ip route 70.1.3.0/24 Ethernet12" \\\n-c "no ip route 70.1.4.0/24 Ethernet12" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 70.1.1.0/24 Ethernet12', 'ip route 70.1.2.0/24 Ethernet12', 'ip route 70.1.3.0/24 Ethernet12', 'ip route 70.1.4.0/24 Ethernet12', 'router bgp 200']
19:24:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:24:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:21 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute RIP Function
19:24:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.01-SET
node name: R-3
19:24:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "network Ethernet8" \\\n-c "network Ethernet16" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router rip', 'network Ethernet8', 'network Ethernet16']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "network Ethernet8" \\\n-c "network Ethernet16" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router rip', 'network Ethernet8', 'network Ethernet16']
not expect values: []
19:24:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router rip
network Ethernet8
network Ethernet16
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router rip', 'network Ethernet8', 'network Ethernet16']
19:24:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router rip
network Ethernet8
network Ethernet16
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.01-SET
node name: R-4
19:24:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "network Ethernet8" \\\n-c "network Ethernet16" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router rip', 'network Ethernet8', 'network Ethernet16']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "network Ethernet8" \\\n-c "network Ethernet16" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router rip', 'network Ethernet8', 'network Ethernet16']
not expect values: []
19:24:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router rip
network Ethernet8
network Ethernet16
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router rip', 'network Ethernet8', 'network Ethernet16']
19:24:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router rip
network Ethernet8
network Ethernet16
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.01-SET
node name: R-1
19:24:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
not expect values: []
19:24:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
19:24:38 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:24:40 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.792 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.662 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.23 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2036ms
rtt min/avg/max/mdev = 0.662/0.895/1.232/0.243 ms
19:24:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.01-SET
node name: R-2
19:24:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "default-information originate" \\\n-c "network Ethernet12" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute rip" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router rip', 'default-information originate', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute rip']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router rip" \\\n-c "default-information originate" \\\n-c "network Ethernet12" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute rip" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router rip', 'default-information originate', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute rip']
not expect values: []
19:24:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router rip
default-information originate
network Ethernet12
exit
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute rip
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router rip', 'default-information originate', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute rip']
19:24:45 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:24:48 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.36 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.14 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.888 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.888/1.130/1.361/0.193 ms
19:24:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router rip
default-information originate
network Ethernet12
exit
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute rip
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:24:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-3
19:24:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip rip"'}]
sub scenario expect mode: and
sub scenario expect values: [['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip rip"'}
expect values: ['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']
not expect values: []
19:24:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1 0 02:54
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
C(i) 10.30.1.0/24 0.0.0.0 1 self 0
R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3 0 02:54
19:24:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']
19:24:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1 0 02:54
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
C(i) 10.30.1.0/24 0.0.0.0 1 self 0
R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3 0 02:54
19:24:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-4
19:24:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip rip"'}]
sub scenario expect mode: and
sub scenario expect values: [['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip rip"'}
expect values: ['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2']
not expect values: []
19:24:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1 0 02:48
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2 0 02:57
C(i) 10.40.1.0/24 0.0.0.0 1 self 0
19:24:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1', 'R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2']
19:24:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(n) 0.0.0.0/0 10.1.3.1 2 10.1.3.1 0 02:48
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2 0 02:57
C(i) 10.40.1.0/24 0.0.0.0 1 self 0
19:24:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-2
19:24:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip rip"'}]
sub scenario expect mode: and
sub scenario expect values: [['R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:24:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip rip"'}
expect values: ['R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']
not expect values: []
19:25:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(d) 0.0.0.0/0 0.0.0.0 1 self 0
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2 0 02:52
R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3 0 02:58
19:25:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2', 'R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3']
19:25:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
Network Next Hop Metric From Tag Time
R(d) 0.0.0.0/0 0.0.0.0 1 self 0
C(i) 10.1.3.0/24 0.0.0.0 1 self 0
R(n) 10.30.1.0/24 10.1.3.2 2 10.1.3.2 0 02:52
R(n) 10.40.1.0/24 10.1.3.3 2 10.1.3.3 0 02:58
19:25:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-2
19:25:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:25:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:25:10 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:23 1 3 N/A
Total number of neighbors 1
19:25:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:25:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:23 1 3 N/A
Total number of neighbors 1
19:25:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-2
19:25:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 2 32768 ?', '*> 10.40.1.0/24 10.1.3.3 2 32768 ?', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:25:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 2 32768 ?', '*> 10.40.1.0/24 10.1.3.3 2 32768 ?', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:25:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.1.0/24 10.1.3.2 2 32768 ?
*> 10.40.1.0/24 10.1.3.3 2 32768 ?
Displayed 3 routes and 3 total paths
19:25:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 2 32768 ?', '*> 10.40.1.0/24 10.1.3.3 2 32768 ?', 'Displayed 3 routes and 3 total paths']
19:25:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.1.0/24 10.1.3.2 2 32768 ?
*> 10.40.1.0/24 10.1.3.3 2 32768 ?
Displayed 3 routes and 3 total paths
19:25:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-1
19:25:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:25:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:25:21 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:34 2 3 N/A
Total number of neighbors 1
19:25:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:25:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:34 2 3 N/A
Total number of neighbors 1
19:25:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-1
19:25:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 2 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 2 0 200 ?', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:25:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 2 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 2 0 200 ?', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:25:26 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 2 0 200 ?
*> 10.40.1.0/24 10.1.1.2 2 0 200 ?
Displayed 3 routes and 3 total paths
19:25:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 2 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 2 0 200 ?', 'Displayed 3 routes and 3 total paths']
19:25:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 2 0 200 ?
*> 10.40.1.0/24 10.1.1.2 2 0 200 ?
Displayed 3 routes and 3 total paths
19:25:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-1
19:25:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/2] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/2] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:25:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/2] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/2] via 10.1.1.2, Ethernet4']
not expect values: []
19:25:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:21
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:08:21
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:15
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:04
B>* 10.30.1.0/24 [20/2] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B>* 10.40.1.0/24 [20/2] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:04
19:25:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/2] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/2] via 10.1.1.2, Ethernet4']
19:25:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:08:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:21
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:08:21
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:15
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:04
B>* 10.30.1.0/24 [20/2] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B>* 10.40.1.0/24 [20/2] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:04
19:25:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.02-VERIFICATION
node name: R-1
19:25:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 3 10.40.1.1'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.40.1.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:25:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping -c 3 10.40.1.1'}
expect values: ['64 bytes from 10.40.1.1']
not expect values: []
19:25:39 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.40.1.1 (10.40.1.1) 56(84) bytes of data.
64 bytes from 10.40.1.1: icmp_seq=1 ttl=63 time=2.04 ms
64 bytes from 10.40.1.1: icmp_seq=2 ttl=63 time=1.58 ms
64 bytes from 10.40.1.1: icmp_seq=3 ttl=63 time=1.75 ms
--- 10.40.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.575/1.787/2.037/0.190 ms
19:25:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.40.1.1']
19:25:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.40.1.1 (10.40.1.1) 56(84) bytes of data.
64 bytes from 10.40.1.1: icmp_seq=1 ttl=63 time=2.04 ms
64 bytes from 10.40.1.1: icmp_seq=2 ttl=63 time=1.58 ms
64 bytes from 10.40.1.1: icmp_seq=3 ttl=63 time=1.75 ms
--- 10.40.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.575/1.787/2.037/0.190 ms
19:25:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.03-DELETE
node name: R-1
19:25:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:25:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:25:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:25:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.03-DELETE
node name: R-2
19:25:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200', 'router rip']]
sub scenario retries: 5
sub scenario delay: 1
19:25:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200', 'router rip']
19:25:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:25:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.03-DELETE
node name: R-3
19:25:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router rip']]
sub scenario retries: 5
sub scenario delay: 1
19:25:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router rip']
19:25:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:25:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:25:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04b.03-DELETE
node name: R-4
19:25:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router rip']]
sub scenario retries: 5
sub scenario delay: 1
19:25:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router rip" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router rip']
19:26:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:26:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:01 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute OSPF Function
19:26:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.01-SET
node name: R-3
19:26:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.30.1.0/24 area 1" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.30.1.0/24 area 1', 'network 10.1.3.0/24 area 0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:26:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.30.1.0/24 area 1" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.30.1.0/24 area 1', 'network 10.1.3.0/24 area 0']
not expect values: []
19:26:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router ospf
network 10.1.3.0/24 area 0
network 10.30.1.0/24 area 1
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.30.1.0/24 area 1', 'network 10.1.3.0/24 area 0']
19:26:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router ospf
network 10.1.3.0/24 area 0
network 10.30.1.0/24 area 1
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.01-SET
node name: R-4
19:26:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.40.1.0/24 area 2" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.40.1.0/24 area 2', 'network 10.1.3.0/24 area 0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:26:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.40.1.0/24 area 2" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.40.1.0/24 area 2', 'network 10.1.3.0/24 area 0']
not expect values: []
19:26:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router ospf
network 10.1.3.0/24 area 0
network 10.40.1.0/24 area 2
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.40.1.0/24 area 2', 'network 10.1.3.0/24 area 0']
19:26:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
router ospf
network 10.1.3.0/24 area 0
network 10.40.1.0/24 area 2
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.01-SET
node name: R-1
19:26:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:26:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
not expect values: []
19:26:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
19:26:17 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:26:19 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.921 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=3.76 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.15 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.921/1.943/3.757/1.285 ms
19:26:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.01-SET
node name: R-2
19:26:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "default-information originate always" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.1.3.0/24 area 0', 'default-information originate always', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute ospf']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:26:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "default-information originate always" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "redistribute ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.1.3.0/24 area 0', 'default-information originate always', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute ospf']
not expect values: []
19:26:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute ospf
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
default-information originate always
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.1.3.0/24 area 0', 'default-information originate always', 'router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'redistribute ospf']
19:26:25 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:26:27 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=4.57 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.936 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.646 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.646/2.049/4.567/1.783 ms
19:26:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
redistribute ospf
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
default-information originate always
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:26:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-3
19:26:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:26:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8']
not expect values: []
19:26:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:08:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:08:30
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:26
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:25
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:19
O 10.30.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:26
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:12
19:26:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8']
19:26:32 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
19:26:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:08:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:08:46
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:42
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:41
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:35
O 10.30.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:42
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:28
19:26:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8']
19:26:48 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
19:27:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8, weight 1, 00:00:06
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:09:01
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:01
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:56
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:50
O 10.30.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:44
O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8, weight 1, 00:00:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:43
19:27:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8']
19:27:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8, weight 1, 00:00:06
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:09:01
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:01
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:56
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:50
O 10.30.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:44
O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet8, weight 1, 00:00:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:43
19:27:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-4
19:27:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:27:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet8']
not expect values: []
19:27:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8, weight 1, 00:00:06
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:38
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:38
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:44
O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet8, weight 1, 00:00:12
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:32
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:08:32
O 10.40.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:57
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:27
K * 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:46
19:27:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet8']
19:27:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 0.0.0.0/0 [110/1] via 10.1.3.1, Ethernet8, weight 1, 00:00:06
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet8, weight 1, 00:00:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:38
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:38
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:44
O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet8, weight 1, 00:00:12
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:32
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:08:32
O 10.40.1.0/24 [110/10000] is directly connected, Ethernet16, weight 1, 00:00:57
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:27
K * 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:46
19:27:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-2
19:27:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip ospf route"'}]
sub scenario expect mode: and
sub scenario expect values: [['N 10.1.3.0/24 [10000] area: 0.0.0.0', 'N IA 10.30.1.0/24 [20000] area: 0.0.0.0', 'N IA 10.40.1.0/24 [20000] area: 0.0.0.0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip ospf route"'}
expect values: ['N 10.1.3.0/24 [10000] area: 0.0.0.0', 'N IA 10.30.1.0/24 [20000] area: 0.0.0.0', 'N IA 10.40.1.0/24 [20000] area: 0.0.0.0']
not expect values: []
19:27:14 test_sonic.run_scenario L0244 INFO |
execute command result:
============ OSPF network routing table ============
N 10.1.3.0/24 [10000] area: 0.0.0.0
directly attached to Ethernet12
N IA 10.30.1.0/24 [20000] area: 0.0.0.0
via 10.1.3.2, Ethernet12
N IA 10.40.1.0/24 [20000] area: 0.0.0.0
via 10.1.3.3, Ethernet12
============ OSPF router routing table =============
R 10.250.0.53 [10000] area: 0.0.0.0, ABR
via 10.1.3.2, Ethernet12
R 10.250.0.54 [10000] area: 0.0.0.0, ABR
via 10.1.3.3, Ethernet12
============ OSPF external routing table ===========
19:27:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['N 10.1.3.0/24 [10000] area: 0.0.0.0', 'N IA 10.30.1.0/24 [20000] area: 0.0.0.0', 'N IA 10.40.1.0/24 [20000] area: 0.0.0.0']
19:27:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
============ OSPF network routing table ============
N 10.1.3.0/24 [10000] area: 0.0.0.0
directly attached to Ethernet12
N IA 10.30.1.0/24 [20000] area: 0.0.0.0
via 10.1.3.2, Ethernet12
N IA 10.40.1.0/24 [20000] area: 0.0.0.0
via 10.1.3.3, Ethernet12
============ OSPF router routing table =============
R 10.250.0.53 [10000] area: 0.0.0.0, ABR
via 10.1.3.2, Ethernet12
R 10.250.0.54 [10000] area: 0.0.0.0, ABR
via 10.1.3.3, Ethernet12
============ OSPF external routing table ===========
19:27:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-2
19:27:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:27:20 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 6 3 0 0 00:00:54 1 3 N/A
Total number of neighbors 1
19:27:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:27:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 6 3 0 0 00:00:54 1 3 N/A
Total number of neighbors 1
19:27:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-2
19:27:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 20000 32768 ?', '*> 10.40.1.0/24 10.1.3.3 20000 32768 ?', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 20000 32768 ?', '*> 10.40.1.0/24 10.1.3.3 20000 32768 ?', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:27:25 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.1.0/24 10.1.3.2 20000 32768 ?
*> 10.40.1.0/24 10.1.3.3 20000 32768 ?
Displayed 3 routes and 3 total paths
19:27:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.1.0/24 10.1.3.2 20000 32768 ?', '*> 10.40.1.0/24 10.1.3.3 20000 32768 ?', 'Displayed 3 routes and 3 total paths']
19:27:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.1.0/24 10.1.3.2 20000 32768 ?
*> 10.40.1.0/24 10.1.3.3 20000 32768 ?
Displayed 3 routes and 3 total paths
19:27:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-2
19:27:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet12', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:27:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet12', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet12']
not expect values: []
19:27:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:51
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet12, weight 1, 00:01:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:46
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:01:04
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:40
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:34
O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet12, weight 1, 00:00:34
O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet12, weight 1, 00:00:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:06
19:27:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet12', 'O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet12']
19:27:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:51
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet12, weight 1, 00:01:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:09:46
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:01:04
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:40
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:09:34
O>* 10.30.1.0/24 [110/20000] via 10.1.3.2, Ethernet12, weight 1, 00:00:34
O>* 10.40.1.0/24 [110/20000] via 10.1.3.3, Ethernet12, weight 1, 00:00:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:06
19:27:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-1
19:27:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:27:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 6 3 0 0 00:01:10 2 3 N/A
Total number of neighbors 1
19:27:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:27:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 6 3 0 0 00:01:10 2 3 N/A
Total number of neighbors 1
19:27:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-1
19:27:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 20000 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 20000 0 200 ?', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 20000 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 20000 0 200 ?', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:27:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 20000 0 200 ?
*> 10.40.1.0/24 10.1.1.2 20000 0 200 ?
Displayed 3 routes and 3 total paths
19:27:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 20000 0 200 ?', '*> 10.40.1.0/24 10.1.1.2 20000 0 200 ?', 'Displayed 3 routes and 3 total paths']
19:27:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 20000 0 200 ?
*> 10.40.1.0/24 10.1.1.2 20000 0 200 ?
Displayed 3 routes and 3 total paths
19:27:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-1
19:27:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/20000] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/20000] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:27:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/20000] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/20000] via 10.1.1.2, Ethernet4']
not expect values: []
19:27:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:36
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:10:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:19
B>* 10.30.1.0/24 [20/20000] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
B>* 10.40.1.0/24 [20/20000] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:19
19:27:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/20000] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/20000] via 10.1.1.2, Ethernet4']
19:27:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:36
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:10:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:19
B>* 10.30.1.0/24 [20/20000] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
B>* 10.40.1.0/24 [20/20000] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:19
19:27:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.02-VERIFICATION
node name: R-1
19:27:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 3 10.30.1.1'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.30.1.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:27:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping -c 3 10.30.1.1'}
expect values: ['64 bytes from 10.30.1.1']
not expect values: []
19:27:54 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.30.1.1 (10.30.1.1) 56(84) bytes of data.
64 bytes from 10.30.1.1: icmp_seq=1 ttl=63 time=1.61 ms
64 bytes from 10.30.1.1: icmp_seq=2 ttl=63 time=1.04 ms
64 bytes from 10.30.1.1: icmp_seq=3 ttl=63 time=1.96 ms
--- 10.30.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.035/1.533/1.956/0.379 ms
19:27:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.30.1.1']
19:27:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.30.1.1 (10.30.1.1) 56(84) bytes of data.
64 bytes from 10.30.1.1: icmp_seq=1 ttl=63 time=1.61 ms
64 bytes from 10.30.1.1: icmp_seq=2 ttl=63 time=1.04 ms
64 bytes from 10.30.1.1: icmp_seq=3 ttl=63 time=1.96 ms
--- 10.30.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 1.035/1.533/1.956/0.379 ms
19:27:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.03-DELETE
node name: R-1
19:27:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:27:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:28:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:28:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.03-DELETE
node name: R-2
19:28:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:28:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf', 'router bgp 200']
19:28:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:28:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.03-DELETE
node name: R-3
19:28:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf']]
sub scenario retries: 5
sub scenario delay: 1
19:28:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf']
19:28:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:28:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04c.03-DELETE
node name: R-4
19:28:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf']]
sub scenario retries: 5
sub scenario delay: 1
19:28:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf']
19:28:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:28:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:28:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:AS Route in Filtering Function
19:28:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.01-SET1
node name: R-1
19:28:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
not expect values: []
19:28:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24']
19:28:21 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:28:24 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.906 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.858 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.866 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.858/0.876/0.906/0.021 ms
19:28:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.01-SET1
node name: R-2
19:28:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
19:28:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
19:28:29 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:28:31 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.906 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.929 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.906/0.951/1.020/0.049 ms
19:28:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.01-SET1
node name: R-3
19:28:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:28:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:28:37 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
19:28:39 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.829 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.987 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.829/0.959/1.062/0.097 ms
19:28:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.01-SET1
node name: R-4
19:28:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:28:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:28:45 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:28:47 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.834 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.681 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.669 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.669/0.728/0.834/0.075 ms
19:28:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:28:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-1
19:28:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:28:53 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
19:28:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:28:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
19:28:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-1
19:28:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:28:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:28:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
19:28:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
19:28:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
19:28:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-1
19:28:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:28:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:29:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:53
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:11:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:36
19:29:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:29:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:53
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:11:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:36
19:29:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-2
19:29:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
19:29:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:38 1 5 N/A
10.1.3.2 4 300 13 10 5 0 0 00:00:30 2 5 N/A
10.1.3.3 4 400 16 11 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
19:29:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
19:29:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:38 1 5 N/A
10.1.3.2 4 300 13 10 5 0 0 00:00:30 2 5 N/A
10.1.3.3 4 400 16 11 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
19:29:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-2
19:29:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:29:14 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
19:29:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
19:29:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
19:29:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-2
19:29:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:29:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:29:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:46
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:11:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:11:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:35
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:11:29
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:11:23
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:55
19:29:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:29:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:46
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:11:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:11:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:35
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:11:29
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:11:23
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:55
19:29:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-3
19:29:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:29:25 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 13 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
19:29:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:29:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 13 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
19:29:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-3
19:29:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:29:30 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
19:29:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
19:29:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
19:29:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-3
19:29:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:29:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
19:29:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:11:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:11:34
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:11:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:11:23
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:16
19:29:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']
19:29:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:11:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:11:34
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:11:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:11:23
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:16
19:29:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-4
19:29:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:29:41 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 16 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
19:29:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:29:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 16 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
19:29:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-4
19:29:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:29:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
19:29:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
19:29:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
19:29:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.02-VERIFICATION1
node name: R-4
19:29:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:29:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
19:29:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:11:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:11:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:11:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:11:16
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:11
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:30
19:29:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']
19:29:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:11:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:11:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:11:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:11:16
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:11:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:11:11
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:11:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:30
19:29:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.03-SET2
node name: R-1
19:29:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 300" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 filter-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.2 filter-list 1 in', 'neighbor 10.1.1.2 soft-reconfiguration inbound']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 300" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 filter-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.2 filter-list 1 in', 'neighbor 10.1.1.2 soft-reconfiguration inbound']
not expect values: []
19:29:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.2 filter-list 1 in
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 300
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:29:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.2 filter-list 1 in', 'neighbor 10.1.1.2 soft-reconfiguration inbound']
19:29:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.2 filter-list 1 in
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 300
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:29:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.03-SET2
node name: R-1
19:29:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "clear ip bgp 10.1.1.1 soft in"'}]
sub scenario expect mode: and
sub scenario expect values: [['% BGP: Unknown neighbor - "10.1.1.1"']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:29:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "clear ip bgp 10.1.1.1 soft in"'}
expect values: ['% BGP: Unknown neighbor - "10.1.1.1"']
not expect values: []
19:30:03 test_sonic.run_scenario L0244 INFO |
execute command result:
% BGP: Unknown neighbor - "10.1.1.1"
19:30:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['% BGP: Unknown neighbor - "10.1.1.1"']
19:30:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
% BGP: Unknown neighbor - "10.1.1.1"
19:30:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.04-VERIFICTATION2
node name: R-1
19:30:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:30:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:30:08 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
19:30:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:30:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
19:30:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.04-VERIFICTATION2
node name: R-1
19:30:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 5
sub scenario delay: 1
19:30:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
19:30:14 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:30:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
19:30:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:30:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.04-VERIFICATION1
node name: R-1
19:30:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:30:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:30:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:13:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:09
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:13:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:52
19:30:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:30:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:13:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:13:09
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:13:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:52
19:30:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.05-DELETE
node name: R-1
19:30:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['bgp as-path access-list 1', 'router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:30:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['bgp as-path access-list 1', 'router bgp 100']
19:30:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:30:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.05-DELETE
node name: R-2
19:30:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:30:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:30:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:30:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.05-DELETE
node name: R-3
19:30:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
19:30:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
19:30:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:30:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05a.05-DELETE
node name: R-4
19:30:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:30:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:30:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:30:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:41 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:AS Route out Filtering Function
19:30:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.01-SET1
node name: R-1
19:30:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:30:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']
not expect values: []
19:30:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']
19:30:46 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:30:49 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.734 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.05 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.828 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2009ms
rtt min/avg/max/mdev = 0.734/0.869/1.047/0.131 ms
19:30:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.01-SET1
node name: R-2
19:30:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.3.2 route-map permit-all in', 'neighbor 10.1.3.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:30:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.3.2 route-map permit-all in', 'neighbor 10.1.3.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']
not expect values: []
19:30:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.3.2 route-map permit-all in', 'neighbor 10.1.3.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']
19:30:54 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:30:57 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.802 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.662 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.741 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2058ms
rtt min/avg/max/mdev = 0.662/0.735/0.802/0.057 ms
19:30:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:30:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.01-SET1
node name: R-3
19:30:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:30:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:31:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:31:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:31:02 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
19:31:04 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.781 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.901 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.874 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.781/0.852/0.901/0.051 ms
19:31:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:31:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.01-SET1
node name: R-4
19:31:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:31:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:31:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:31:10 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:31:12 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.962 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.751 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.889 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.751/0.867/0.962/0.087 ms
19:31:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:31:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-1
19:31:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:31:18 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:22 4 5 N/A
Total number of neighbors 1
19:31:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:31:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:22 4 5 N/A
Total number of neighbors 1
19:31:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-1
19:31:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:31:23 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
19:31:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
19:31:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
19:31:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-1
19:31:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:31:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:31:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:18
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:14:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:14:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:01
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:01
19:31:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:31:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:18
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:14:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:14:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:01
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:01
19:31:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-2
19:31:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
19:31:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:24 2 5 N/A
Total number of neighbors 3
19:31:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
19:31:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:24 2 5 N/A
Total number of neighbors 3
19:31:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-2
19:31:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:31:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
19:31:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
19:31:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
19:31:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-2
19:31:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:31:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:31:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:05
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:13:54
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:54
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:13:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:20
19:31:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:31:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:05
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:14:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:13:54
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:54
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:13:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:20
19:31:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-3
19:31:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:31:51 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
19:31:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:31:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
19:31:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-3
19:31:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:31:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:31:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
19:31:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
19:31:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
19:31:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-3
19:31:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:31:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
19:32:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:13:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:13:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:48
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:42
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:41
19:32:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8']
19:32:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:13:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:13:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:48
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:42
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:41
19:32:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-4
19:32:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:32:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:32:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:57 3 5 N/A
Total number of neighbors 1
19:32:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:32:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:57 3 5 N/A
Total number of neighbors 1
19:32:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-4
19:32:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:32:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
19:32:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
19:32:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
19:32:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
19:32:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.02-VERIFICATION1
node name: R-4
19:32:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:32:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
19:32:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:47
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:13:47
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:13:53
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:41
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:13:41
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:36
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:55
19:32:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8']
19:32:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:13:47
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:13:47
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:13:53
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:41
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:13:41
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:36
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:55
19:32:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.03-SET2
node name: R-2
19:32:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 300" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 filter-list 1 out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.1 filter-list 1 out']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:32:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 300" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 filter-list 1 out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.1 filter-list 1 out']
not expect values: []
19:32:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.1.1 filter-list 1 out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 300
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bgp as-path access-list 1', 'deny 300', 'permit .*', 'neighbor 10.1.1.1 filter-list 1 out']
19:32:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.1.1 filter-list 1 out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 300
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.03-SET2
node name: R-2
19:32:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "clear ip bgp 10.1.1.1 soft out"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:32:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "clear ip bgp 10.1.1.1 soft out"'}
expect values: []
not expect values: []
19:32:29 test_sonic.run_scenario L0244 INFO |
execute command result:
19:32:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:32:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:32:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.04-VERIFICTATION2
node name: R-1
19:32:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:32:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:32:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 12 8 7 0 0 00:01:38 2 3 N/A
Total number of neighbors 1
19:32:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:32:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 12 8 7 0 0 00:01:38 2 3 N/A
Total number of neighbors 1
19:32:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.04-VERIFICTATION2
node name: R-1
19:32:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 5
sub scenario delay: 1
19:32:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
19:32:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:32:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
19:32:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:32:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.04-VERIFICATION1
node name: R-1
19:32:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:32:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:32:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:34
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:15:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:17
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:17
19:32:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:32:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:34
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:15:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:17
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:17
19:32:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.05-DELETE
node name: R-1
19:32:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:32:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:32:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:32:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.05-DELETE
node name: R-2
19:32:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['bgp as-path access-list 1', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:32:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['bgp as-path access-list 1', 'router bgp 200']
19:32:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:32:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:32:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.05-DELETE
node name: R-3
19:32:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
19:32:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
19:33:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:33:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 05b.05-DELETE
node name: R-4
19:33:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:33:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:33:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:33:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:07 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:33:07 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Next Hop Attribute Function
19:33:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.01-SET1
node name: R-1
19:33:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']
not expect values: []
19:33:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 route-map permit-all in', 'neighbor 10.1.1.2 route-map permit-all out']
19:33:12 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:33:14 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.812 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.594 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.965 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.594/0.790/0.965/0.152 ms
19:33:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.01-SET1
node name: R-2
19:33:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.4.2 remote-as 200" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.1.3.0/24 area 0', 'router bgp 200', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.4.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.4.2 route-map permit-all in', 'neighbor 10.1.4.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router ospf" \\\n-c "network 10.1.3.0/24 area 0" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.4.2 remote-as 200" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.1.3.0/24 area 0', 'router bgp 200', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.4.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.4.2 route-map permit-all in', 'neighbor 10.1.4.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']
not expect values: []
19:33:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.1.3.0/24 area 0', 'router bgp 200', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.4.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.1.1 route-map permit-all in', 'neighbor 10.1.1.1 route-map permit-all out', 'neighbor 10.1.4.2 route-map permit-all in', 'neighbor 10.1.4.2 route-map permit-all out', 'neighbor 10.1.3.3 route-map permit-all in', 'neighbor 10.1.3.3 route-map permit-all out']
19:33:20 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:33:22 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.972 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.19 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.955 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.955/1.039/1.191/0.107 ms
19:33:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.01-SET1
node name: R-4
19:33:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router ospf" \\\n-c "network 10.1.0.0/16 area 0" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.4.2 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.1.0.0/16 area 0', 'router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router ospf" \\\n-c "network 10.1.0.0/16 area 0" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.4.2 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.1.0.0/16 area 0', 'router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.2 remote-as 200']
not expect values: []
19:33:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.0.0/16 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.1.0.0/16 area 0', 'router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.2 remote-as 200']
19:33:28 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:33:30 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.474 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.982 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.985 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.474/0.813/0.985/0.240 ms
19:33:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.0.0/16 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.01-SET1
node name: R-5
19:33:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router ospf" \\\n-c "network 10.1.4.0/24 area 0" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.4.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router ospf', 'network 10.1.4.0/24 area 0', 'router bgp 200', 'bgp router-id 10.50.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router ospf" \\\n-c "network 10.1.4.0/24 area 0" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.4.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router ospf', 'network 10.1.4.0/24 area 0', 'router bgp 200', 'bgp router-id 10.50.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.1 remote-as 200']
not expect values: []
19:33:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.50.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.4.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.4.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router ospf', 'network 10.1.4.0/24 area 0', 'router bgp 200', 'bgp router-id 10.50.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.4.1 remote-as 200']
19:33:36 test_sonic.run_scenario L0252 INFO | [R-5] Auto Ping Verification to neighbor: 10.1.3.1
19:33:48 test_sonic.run_scenario L0254 INFO | [R-5] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2029ms
19:33:48 test_sonic.run_scenario L0256 WARNING| [R-5] Ping failed to 10.1.3.1
19:33:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.50.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.4.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.4.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:33:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-1
19:33:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:33:53 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 2 0 0 00:00:33 1 2 N/A
Total number of neighbors 1
19:33:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:33:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 2 0 0 00:00:33 1 2 N/A
Total number of neighbors 1
19:33:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-1
19:33:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:33:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:33:59 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:33:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', 'Displayed 2 routes and 2 total paths']
19:33:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:33:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-1
19:33:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:33:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:34:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:54
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:16:54
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:48
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:37
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:37
19:34:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:34:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:54
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:16:54
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:48
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:16:37
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:37
19:34:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-2
19:34:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 200', '10.1.4.2 4 200', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 200', '10.1.4.2 4 200', 'Total number of neighbors 3']
not expect values: []
19:34:10 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 2 0 0 00:00:49 1 2 N/A
10.1.3.3 4 200 3 5 2 0 0 00:00:41 0 2 FRRouting/10.3
10.1.4.2 4 200 0 0 0 0 0 never Connect 0 N/A
Total number of neighbors 3
19:34:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 200', '10.1.4.2 4 200', 'Total number of neighbors 3']
19:34:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 2 0 0 00:00:49 1 2 N/A
10.1.3.3 4 200 3 5 2 0 0 00:00:41 0 2 FRRouting/10.3
10.1.4.2 4 200 0 0 0 0 0 never Connect 0 N/A
Total number of neighbors 3
19:34:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-2
19:34:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:34:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:34:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
19:34:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:34:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-2
19:34:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['O>* 10.1.4.0/24 [110/20000] via 10.1.3.3, Ethernet12', 'B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:34:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['O>* 10.1.4.0/24 [110/20000] via 10.1.3.3, Ethernet12', 'B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:34:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:41
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet12, weight 1, 00:01:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:16:36
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:36
O>* 10.1.4.0/24 [110/20000] via 10.1.3.3, Ethernet12, weight 1, 00:00:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:59
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:16:30
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:16:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:56
19:34:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['O>* 10.1.4.0/24 [110/20000] via 10.1.3.3, Ethernet12', 'B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:34:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:41
O 10.1.3.0/24 [110/10000] is directly connected, Ethernet12, weight 1, 00:01:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:16:36
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:16:36
O>* 10.1.4.0/24 [110/20000] via 10.1.3.3, Ethernet12, weight 1, 00:00:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:59
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:16:30
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:16:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:56
19:34:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-5
19:34:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']
not expect values: []
19:34:26 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 3 1 0 0 00:00:05 2 0 FRRouting/10.3
10.1.4.1 4 200 4 4 1 0 0 00:00:49 0 0 FRRouting/10.3
Total number of neighbors 2
19:34:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']
19:34:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 3 1 0 0 00:00:05 2 0 FRRouting/10.3
10.1.4.1 4 200 4 4 1 0 0 00:00:49 0 0 FRRouting/10.3
Total number of neighbors 2
19:34:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-5
19:34:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:34:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 1, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
Displayed 2 routes and 2 total paths
19:34:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']
19:34:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 1, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
Displayed 2 routes and 2 total paths
19:34:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.02-VERIFICATION1
node name: R-5
19:34:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:34:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']
not expect values: []
19:34:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 10.1.3.0/24 [110/20000] via 10.1.4.1, Ethernet0, weight 1, 00:00:16
O 10.1.4.0/24 [110/10000] is directly connected, Ethernet0, weight 1, 00:01:01
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:15:50
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:15:50
B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:15
* via 10.1.4.1, Ethernet0, weight 1, 00:00:15
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:15:44
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:15:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:12
19:34:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']
19:34:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 10.1.3.0/24 [110/20000] via 10.1.4.1, Ethernet0, weight 1, 00:00:16
O 10.1.4.0/24 [110/10000] is directly connected, Ethernet0, weight 1, 00:01:01
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:15:50
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:15:50
B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:15
* via 10.1.4.1, Ethernet0, weight 1, 00:00:15
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:15:44
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:15:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:12
19:34:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.03-SET2
node name: R-2
19:34:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.4.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.4.2 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.4.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.4.2 next-hop-self']
not expect values: []
19:34:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
neighbor 10.1.4.2 next-hop-self
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:34:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.4.2 next-hop-self']
19:34:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 200
neighbor 10.1.4.2 remote-as 200
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
neighbor 10.1.4.2 next-hop-self
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
router ospf
network 10.1.3.0/24 area 0
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:34:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.04-VERIFICTATION2
node name: R-5
19:34:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']
not expect values: []
19:34:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 7 3 2 0 0 00:00:27 2 0 FRRouting/10.3
10.1.4.1 4 200 6 5 2 0 0 00:01:11 0 0 FRRouting/10.3
Total number of neighbors 2
19:34:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', '10.1.4.1 4 200', 'Total number of neighbors 2']
19:34:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 7 3 2 0 0 00:00:27 2 0 FRRouting/10.3
10.1.4.1 4 200 6 5 2 0 0 00:01:11 0 0 FRRouting/10.3
Total number of neighbors 2
19:34:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.04-VERIFICTATION2
node name: R-5
19:34:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:34:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:34:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
Displayed 2 routes and 2 total paths
19:34:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i', '*>i 10.20.0.0/24 10.1.3.1 0 100 0 i', 'Displayed 2 routes and 2 total paths']
19:34:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
Displayed 2 routes and 2 total paths
19:34:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.04-VERIFICATION1
node name: R-5
19:34:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.10.1.0/24 [200/0] via 10.1.3.1 (recursive)', 'B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:34:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.10.1.0/24 [200/0] via 10.1.3.1 (recursive)', 'B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']
not expect values: []
19:34:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 10.1.3.0/24 [110/20000] via 10.1.4.1, Ethernet0, weight 1, 00:00:38
O 10.1.4.0/24 [110/10000] is directly connected, Ethernet0, weight 1, 00:01:23
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:16:12
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:16:12
B> 10.10.1.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:16
* via 10.1.4.1, Ethernet0, weight 1, 00:00:16
B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:37
* via 10.1.4.1, Ethernet0, weight 1, 00:00:37
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:16:06
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:16:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:34
19:34:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.10.1.0/24 [200/0] via 10.1.3.1 (recursive)', 'B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive)', '* via 10.1.4.1']
19:34:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
O>* 10.1.3.0/24 [110/20000] via 10.1.4.1, Ethernet0, weight 1, 00:00:38
O 10.1.4.0/24 [110/10000] is directly connected, Ethernet0, weight 1, 00:01:23
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:16:12
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:16:12
B> 10.10.1.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:16
* via 10.1.4.1, Ethernet0, weight 1, 00:00:16
B> 10.20.0.0/24 [200/0] via 10.1.3.1 (recursive), weight 1, 00:00:37
* via 10.1.4.1, Ethernet0, weight 1, 00:00:37
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:16:06
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:16:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:34
19:34:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.05-DELETE
node name: R-1
19:34:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:34:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:35:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:35:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.05-DELETE
node name: R-2
19:35:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:35:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf', 'router bgp 200']
19:35:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:35:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.05-DELETE
node name: R-4
19:35:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:35:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf', 'router bgp 200']
19:35:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:35:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 06.05-DELETE
node name: R-5
19:35:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router ospf', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:35:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router ospf" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router ospf', 'router bgp 200']
19:35:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:35:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:21 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:35:21 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Weight attribute Function
19:35:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.01-SET1
node name: R-1
19:35:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:35:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
not expect values: []
19:35:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
19:35:26 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:35:29 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.822 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.554 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.836 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032ms
rtt min/avg/max/mdev = 0.554/0.737/0.836/0.129 ms
19:35:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.01-SET1
node name: R-2
19:35:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:35:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self']
not expect values: []
19:35:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self']
19:35:34 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:35:36 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.797 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.936 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.06 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2033ms
rtt min/avg/max/mdev = 0.797/0.931/1.060/0.107 ms
19:35:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.01-SET1
node name: R-3
19:35:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:35:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self']
not expect values: []
19:35:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self']
19:35:42 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
19:35:44 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.909 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.974 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.795 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.795/0.892/0.974/0.073 ms
19:35:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:35:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.02-VERIFICATION1
node name: R-1
19:35:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:35:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']
not expect values: []
19:35:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 4 4 2 0 0 00:00:15 1 1 N/A
10.1.1.10 4 200 4 4 2 0 0 00:00:07 1 1 N/A
Total number of neighbors 2
19:35:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']
19:35:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 4 4 2 0 0 00:00:15 1 1 N/A
10.1.1.10 4 200 4 4 2 0 0 00:00:07 1 1 N/A
Total number of neighbors 2
19:35:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.02-VERIFICATION1
node name: R-1
19:35:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:35:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:35:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:49
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:18:44
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:18:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:38
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
* via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:32
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:32
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:18:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:27
19:35:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:35:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:49
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:18:44
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:18:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:38
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
* via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:32
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:32
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:18:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:27
19:35:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.02-VERIFICATION1
node name: R-2
19:35:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:35:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 200', 'Total number of neighbors 2']
not expect values: []
19:36:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 1 0 0 00:00:26 0 1 N/A
10.1.3.2 4 200 4 4 1 0 0 00:00:18 1 1 FRRouting/10.3
Total number of neighbors 2
19:36:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 200', 'Total number of neighbors 2']
19:36:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 1 0 0 00:00:26 0 1 N/A
10.1.3.2 4 200 4 4 1 0 0 00:00:18 1 1 FRRouting/10.3
Total number of neighbors 2
19:36:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.02-VERIFICATION1
node name: R-3
19:36:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', '10.1.3.1 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:36:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 100', '10.1.3.1 4 200', 'Total number of neighbors 2']
not expect values: []
19:36:18 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 4 4 1 0 0 00:00:35 0 1 N/A
10.1.3.1 4 200 4 4 1 0 0 00:00:35 1 1 FRRouting/10.3
Total number of neighbors 2
19:36:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', '10.1.3.1 4 200', 'Total number of neighbors 2']
19:36:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using 128 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 4 4 1 0 0 00:00:35 0 1 N/A
10.1.3.1 4 200 4 4 1 0 0 00:00:35 1 1 FRRouting/10.3
Total number of neighbors 2
19:36:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.03-SET2
node name: R-1
19:36:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.10 weight 100" \\\n-c "neighbor 10.1.1.10 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.10 weight 100', 'neighbor 10.1.1.10 soft-reconfiguration inbound']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:36:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.10 weight 100" \\\n-c "neighbor 10.1.1.10 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.10 weight 100', 'neighbor 10.1.1.10 soft-reconfiguration inbound']
not expect values: []
19:36:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 soft-reconfiguration inbound
neighbor 10.1.1.10 weight 100
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.10 weight 100', 'neighbor 10.1.1.10 soft-reconfiguration inbound']
19:36:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 soft-reconfiguration inbound
neighbor 10.1.1.10 weight 100
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.03-SET2
node name: R-1
19:36:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "clear ip bgp 10.1.1.10 soft in"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:36:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "clear ip bgp 10.1.1.10 soft in"'}
expect values: []
not expect values: []
19:36:29 test_sonic.run_scenario L0244 INFO |
execute command result:
19:36:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:36:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:36:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.04-VERIFICATION2
node name: R-1
19:36:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:36:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: []
19:36:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:23
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:19:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:17
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:06
19:36:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
19:36:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:23
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:19:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:17
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:06
19:36:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.05-DELETE
node name: R-1
19:36:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:36:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:36:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:36:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.05-DELETE
node name: R-2
19:36:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:36:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:36:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:36:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 07.05-DELETE
node name: R-3
19:36:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:36:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:36:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:36:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:50 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:36:50 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Local Preference Function
19:36:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.01-SET1
node name: R-1
19:36:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:36:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
not expect values: []
19:36:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
19:36:56 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:36:58 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.591 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.711 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.737 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2018ms
rtt min/avg/max/mdev = 0.591/0.679/0.737/0.063 ms
19:36:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:36:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.01-SET1
node name: R-2
19:36:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:36:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']
not expect values: []
19:37:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.2 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']
19:37:04 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:37:06 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.706 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.862 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.914 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.706/0.827/0.914/0.088 ms
19:37:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.01-SET1
node name: R-3
19:37:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']
not expect values: []
19:37:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.1 next-hop-self', 'neighbor 10.1.3.3 remote-as 200', 'neighbor 10.1.3.3 next-hop-self']
19:37:11 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
19:37:14 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.642 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.942 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.618 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2020ms
rtt min/avg/max/mdev = 0.618/0.734/0.942/0.147 ms
19:37:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.01-SET1
node name: R-4
19:37:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.2 remote-as 200']
not expect values: []
19:37:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200', 'neighbor 10.1.3.2 remote-as 200']
19:37:19 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:37:22 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.906 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.549 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.990 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.549/0.815/0.990/0.191 ms
19:37:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:37:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-1
19:37:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']
not expect values: []
19:37:27 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 4 4 2 0 0 00:00:22 0 2 N/A
10.1.1.10 4 200 4 4 2 0 0 00:00:14 0 2 N/A
Total number of neighbors 2
19:37:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 200', 'Total number of neighbors 2']
19:37:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 4 4 2 0 0 00:00:22 0 2 N/A
10.1.1.10 4 200 4 4 2 0 0 00:00:14 0 2 N/A
Total number of neighbors 2
19:37:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-1
19:37:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:37:32 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:37:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
19:37:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:37:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-2
19:37:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
not expect values: []
19:37:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 2 0 0 00:00:33 2 2 N/A
10.1.3.2 4 200 4 4 2 0 0 00:00:25 2 2 FRRouting/10.3
10.1.3.3 4 200 3 4 2 0 0 00:00:17 0 2 FRRouting/10.3
Total number of neighbors 3
19:37:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
19:37:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 2 0 0 00:00:33 2 2 N/A
10.1.3.2 4 200 4 4 2 0 0 00:00:25 2 2 FRRouting/10.3
10.1.3.3 4 200 3 4 2 0 0 00:00:17 0 2 FRRouting/10.3
Total number of neighbors 3
19:37:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-2
19:37:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:37:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:37:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:10
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:20:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:19:59
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:19:59
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:38
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:38
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:19:53
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:19:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:19
19:37:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:37:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:10
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:20:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:19:59
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:19:59
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:38
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:38
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:19:53
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:19:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:19
19:37:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-3
19:37:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
not expect values: []
19:37:49 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 4 4 2 0 0 00:00:37 2 2 N/A
10.1.3.1 4 200 4 4 2 0 0 00:00:37 2 2 FRRouting/10.3
10.1.3.3 4 200 3 4 2 0 0 00:00:29 0 2 FRRouting/10.3
Total number of neighbors 3
19:37:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
19:37:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 4 4 2 0 0 00:00:37 2 2 N/A
10.1.3.1 4 200 4 4 2 0 0 00:00:37 2 2 FRRouting/10.3
10.1.3.3 4 200 3 4 2 0 0 00:00:29 0 2 FRRouting/10.3
Total number of neighbors 3
19:37:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-3
19:37:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:37:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0']
not expect values: []
19:37:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:19:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:19:52
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:47
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:41
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:41
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:34
19:37:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0']
19:37:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:19:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:19:52
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:47
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:41
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:41
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:34
19:37:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-4
19:37:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:37:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']
not expect values: []
19:38:00 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 4 3 2 0 0 00:00:39 2 0 FRRouting/10.3
10.1.3.2 4 200 4 3 2 0 0 00:00:39 2 0 FRRouting/10.3
Total number of neighbors 2
19:38:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']
19:38:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 4 3 2 0 0 00:00:39 2 0 FRRouting/10.3
10.1.3.2 4 200 4 3 2 0 0 00:00:39 2 0 FRRouting/10.3
Total number of neighbors 2
19:38:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.02-VERIFICATION1
node name: R-4
19:38:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:38:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:38:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:19:35
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:19:41
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:44
* via 10.1.3.2, Ethernet8, weight 1, 00:00:44
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:44
* via 10.1.3.2, Ethernet8, weight 1, 00:00:44
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:29
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:19:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:24
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:43
19:38:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
19:38:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:19:35
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:19:41
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:44
* via 10.1.3.2, Ethernet8, weight 1, 00:00:44
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:44
* via 10.1.3.2, Ethernet8, weight 1, 00:00:44
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:29
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:19:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:24
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:43
19:38:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.03-SET2
node name: R-3
19:38:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp default local-preference 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['bgp default local-preference 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp default local-preference 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['bgp default local-preference 200']
not expect values: []
19:38:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
bgp default local-preference 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:38:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bgp default local-preference 200']
19:38:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
bgp default local-preference 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:38:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.03-SET2
node name: R-3
19:38:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "clear ip bgp * soft out"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "clear ip bgp * soft out"'}
expect values: []
not expect values: []
19:38:16 test_sonic.run_scenario L0244 INFO |
execute command result:
19:38:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:38:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
19:38:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-2
19:38:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i', '10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i', '10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i']
not expect values: []
19:38:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i
* 10.1.1.1 0 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
* 10.1.1.1 0 0 100 i
Displayed 2 routes and 4 total paths
19:38:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i', '10.1.3.2 0 200 0 100 i', '10.1.1.1 0 0 100 i']
19:38:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i
* 10.1.1.1 0 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
* 10.1.1.1 0 0 100 i
Displayed 2 routes and 4 total paths
19:38:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-2
19:38:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:38:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet12']
not expect values: []
19:38:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:53
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:20:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:20:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:20:42
B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:15
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:15
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:20:36
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:20:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:02
19:38:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet12']
19:38:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:53
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:20:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:20:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:20:42
B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:15
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:15
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:20:36
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:20:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:02
19:38:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-3
19:38:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
not expect values: []
19:38:32 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 8 9 2 0 0 00:01:20 2 2 N/A
10.1.3.1 4 200 9 9 2 0 0 00:01:20 0 2 FRRouting/10.3
10.1.3.3 4 200 6 9 2 0 0 00:01:12 0 2 FRRouting/10.3
Total number of neighbors 3
19:38:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', '10.1.3.1 4 200', '10.1.3.3 4 200', 'Total number of neighbors 3']
19:38:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 8 9 2 0 0 00:01:20 2 2 N/A
10.1.3.1 4 200 9 9 2 0 0 00:01:20 0 2 FRRouting/10.3
10.1.3.3 4 200 6 9 2 0 0 00:01:12 0 2 FRRouting/10.3
Total number of neighbors 3
19:38:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-3
19:38:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:38:38 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.30.1.1, vrf id 0
Default local pref 200, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
Displayed 2 routes and 2 total paths
19:38:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', 'Displayed 2 routes and 2 total paths']
19:38:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.30.1.1, vrf id 0
Default local pref 200, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
Displayed 2 routes and 2 total paths
19:38:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-4
19:38:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']
not expect values: []
19:38:43 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 4 4 0 0 00:01:23 0 0 FRRouting/10.3
10.1.3.2 4 200 9 6 4 0 0 00:01:23 2 0 FRRouting/10.3
Total number of neighbors 2
19:38:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', '10.1.3.2 4 200', 'Total number of neighbors 2']
19:38:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 4 4 0 0 00:01:23 0 0 FRRouting/10.3
10.1.3.2 4 200 9 6 4 0 0 00:01:23 2 0 FRRouting/10.3
Total number of neighbors 2
19:38:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-4
19:38:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i', '*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:38:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i', '*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:38:49 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
Displayed 2 routes and 2 total paths
19:38:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i', '*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i', 'Displayed 2 routes and 2 total paths']
19:38:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.2 0 200 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
Displayed 2 routes and 2 total paths
19:38:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.04-VERIFICATION2
node name: R-4
19:38:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:38:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']
not expect values: []
19:38:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:20:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:20:24
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:20:30
B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:43
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:43
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:20:18
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:20:18
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:20:13
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:32
19:38:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']
19:38:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:20:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:20:24
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:20:30
B>* 10.10.1.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:43
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:43
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:20:18
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:20:18
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:20:13
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:20:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:32
19:38:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.05-DELETE
node name: R-1
19:38:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:38:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:38:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:38:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:38:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:38:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.05-DELETE
node name: R-2
19:38:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:38:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:39:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:39:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.05-DELETE
node name: R-3
19:39:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:39:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:39:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:39:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 08.05-DELETE
node name: R-4
19:39:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:39:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:39:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:39:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:39:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Aggregation Default Function
19:39:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.01-SET1
node name: R-1
19:39:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.1.1.0/30" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.1.1.0/30" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:39:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.0/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']
19:39:21 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:39:24 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.07 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.10 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.13 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.069/1.097/1.125/0.022 ms
19:39:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.0/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.01-SET1
node name: R-2
19:39:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
19:39:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
19:39:29 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:39:31 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=2.62 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.854 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.854/1.512/2.622/0.789 ms
19:39:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.01-SET1
node name: R-4
19:39:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:39:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:39:37 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:39:39 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.643 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.786 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.841 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2042ms
rtt min/avg/max/mdev = 0.643/0.756/0.841/0.083 ms
19:39:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:39:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-1
19:39:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:39:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:15 2 3 N/A
Total number of neighbors 1
19:39:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:39:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:15 2 3 N/A
Total number of neighbors 1
19:39:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-1
19:39:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:39:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:39:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
19:39:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:39:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-1
19:39:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:39:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:39:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:22:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:22:45
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:22:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:22:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:22:28
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:27:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:27:28
19:39:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:39:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:22:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:22:45
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:22:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:22:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:22:28
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:27:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:27:28
19:39:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-2
19:39:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:39:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:40:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:31 1 3 N/A
10.1.3.3 4 400 5 5 3 0 0 00:00:24 2 3 N/A
Total number of neighbors 2
19:40:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:40:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:31 1 3 N/A
10.1.3.3 4 400 5 5 3 0 0 00:00:24 2 3 N/A
Total number of neighbors 2
19:40:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-2
19:40:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:40:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:40:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:00:35
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:22:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:22:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:22:27
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:22:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:22:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:22:16
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:16
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:22:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:28
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:27:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:27:42
19:40:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:40:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:00:35
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:22:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:22:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:22:27
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:22:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:22:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:22:16
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:16
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:22:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:28
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:27:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:27:42
19:40:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-4
19:40:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:40:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 3 0 0 00:00:34 1 3 N/A
Total number of neighbors 1
19:40:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:40:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 3 0 0 00:00:34 1 3 N/A
Total number of neighbors 1
19:40:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-4
19:40:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:40:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
19:40:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']
19:40:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
19:40:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.02-VERIFICATION1
node name: R-4
19:40:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:40:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:40:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:52
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:21:52
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:21:58
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:46
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:21:46
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:41
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:41
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:00
19:40:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']
19:40:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:52
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:21:52
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:21:58
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:46
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:21:46
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:41
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:41
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:00
19:40:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.03-SET2
node name: R-4
19:40:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "aggregate-address 10.40.0.0/23" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['aggregate-address 10.40.0.0/23']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "aggregate-address 10.40.0.0/23" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['aggregate-address 10.40.0.0/23']
not expect values: []
19:40:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
aggregate-address 10.40.0.0/23
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:40:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['aggregate-address 10.40.0.0/23']
19:40:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
aggregate-address 10.40.0.0/23
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:40:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-1
19:40:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:40:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 4
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 4 0 0 00:01:04 3 4 N/A
Total number of neighbors 1
19:40:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:40:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 4
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 4 0 0 00:01:04 3 4 N/A
Total number of neighbors 1
19:40:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-1
19:40:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:40:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/23 10.1.1.2 0 200 400 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 4 routes and 4 total paths
19:40:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 4 routes and 4 total paths']
19:40:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/23 10.1.1.2 0 200 400 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 4 routes and 4 total paths
19:40:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-1
19:40:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:40:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:40:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:23:34
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:23:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:23:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:23:17
B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:06
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:17
19:40:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:40:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:23:34
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:23:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:23:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:23:17
B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:06
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:17
19:40:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-2
19:40:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:40:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 7 7 4 0 0 00:01:19 1 4 N/A
10.1.3.3 4 400 7 7 4 0 0 00:01:12 3 4 N/A
Total number of neighbors 2
19:40:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:40:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 7 7 4 0 0 00:01:19 1 4 N/A
10.1.3.3 4 400 7 7 4 0 0 00:01:12 3 4 N/A
Total number of neighbors 2
19:40:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-2
19:40:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:40:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:40:55 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.1.1 0 0 100 i
*> 10.40.0.0/23 10.1.3.3 0 0 400 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 4 routes and 4 total paths
19:40:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 4 routes and 4 total paths']
19:40:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.1.1 0 0 100 i
*> 10.40.0.0/23 10.1.3.3 0 0 400 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 4 routes and 4 total paths
19:40:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-2
19:40:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:40:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:41:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:01:29
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:27
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:27
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:23:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:23:16
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:23:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:23:10
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:23:04
B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:32
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:36
19:41:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:41:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:01:29
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:27
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:27
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:23:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:23:16
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:23:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:23:10
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:23:04
B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:32
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:36
19:41:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.04-VERIFICATION2
node name: R-4
19:41:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:41:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/23 0.0.0.0 0 32768 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:41:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
19:41:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/23 0.0.0.0 0 32768 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:41:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.05-DELETE
node name: R-1
19:41:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:41:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:41:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:41:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.05-DELETE
node name: R-2
19:41:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:41:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:41:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:41:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09a.05-DELETE
node name: R-4
19:41:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:41:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:41:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:41:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:23 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Aggregation Summary Only Function
19:41:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.01-SET1
node name: R-1
19:41:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.1.1.0/30" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.1.1.0/30" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:41:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.0/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.1.1.0/30', 'neighbor 10.1.1.2 remote-as 200']
19:41:28 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:41:31 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.803 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.897 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.14 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2017ms
rtt min/avg/max/mdev = 0.803/0.945/1.135/0.139 ms
19:41:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.0/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.01-SET1
node name: R-2
19:41:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
19:41:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
19:41:36 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:41:39 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.688 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.87 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.928 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2016ms
rtt min/avg/max/mdev = 0.688/1.161/1.869/0.509 ms
19:41:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.01-SET1
node name: R-4
19:41:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:41:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:41:44 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:41:46 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=1.18 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.903 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.984 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.903/1.022/1.181/0.116 ms
19:41:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:41:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-1
19:41:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:41:52 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:14 2 3 N/A
Total number of neighbors 1
19:41:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:41:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 3 0 0 00:00:14 2 3 N/A
Total number of neighbors 1
19:41:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-1
19:41:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:41:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:41:57 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:41:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
19:41:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
19:41:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-1
19:41:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:41:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:42:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:24:52
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:24:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:24:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:35
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:35
19:42:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:42:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:24:52
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:24:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:24:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:35
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:35
19:42:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-2
19:42:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:42:08 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:31 1 3 N/A
10.1.3.3 4 400 5 5 3 0 0 00:00:23 2 3 N/A
Total number of neighbors 2
19:42:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:42:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 3 0 0 00:00:31 1 3 N/A
10.1.3.3 4 400 5 5 3 0 0 00:00:23 2 3 N/A
Total number of neighbors 2
19:42:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-2
19:42:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:42:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:42:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:00:35
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:24:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:24:34
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:24:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:24:29
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:24:23
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:23
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:24:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:27
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:49
19:42:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:42:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:00:35
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:24:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:24:34
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:24:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:24:29
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:24:23
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:23
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:24:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:27
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:49
19:42:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-4
19:42:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:42:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 3 0 0 00:00:34 1 3 N/A
Total number of neighbors 1
19:42:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:42:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 3
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 3 0 0 00:00:34 1 3 N/A
Total number of neighbors 1
19:42:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-4
19:42:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']
not expect values: []
19:42:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
19:42:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 3 routes and 3 total paths']
19:42:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
19:42:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.02-VERIFICATION1
node name: R-4
19:42:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:42:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:42:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:23:59
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:23:59
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:24:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:23:53
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:23:53
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:48
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:07
19:42:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8']
19:42:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 10.1.1.0/30 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:23:59
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:23:59
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:24:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:23:53
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:23:53
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:48
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:07
19:42:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.03-SET2
node name: R-4
19:42:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "aggregate-address 10.40.0.0/23 summary-only" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['aggregate-address 10.40.0.0/23 summary-only']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "aggregate-address 10.40.0.0/23 summary-only" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['aggregate-address 10.40.0.0/23 summary-only']
not expect values: []
19:42:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
aggregate-address 10.40.0.0/23 summary-only
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:42:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['aggregate-address 10.40.0.0/23 summary-only']
19:42:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
aggregate-address 10.40.0.0/23 summary-only
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:42:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-1
19:42:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:42:41 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 8 8 6 0 0 00:01:03 1 2 N/A
Total number of neighbors 1
19:42:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:42:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 8 8 6 0 0 00:01:03 1 2 N/A
Total number of neighbors 1
19:42:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-1
19:42:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 5
sub scenario delay: 1
19:42:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', 'Displayed 2 routes and 2 total paths']
not expect values: ['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']
19:42:46 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/23 10.1.1.2 0 200 400 i
Displayed 2 routes and 2 total paths
19:42:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 0.0.0.0 0 32768 i', '*> 10.40.0.0/23 10.1.1.2 0 200 400 i', 'Displayed 2 routes and 2 total paths']
19:42:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.40.0.0/23 10.1.1.2 0 200 400 i
Displayed 2 routes and 2 total paths
19:42:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-1
19:42:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:42:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:42:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:46
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:25:41
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:25:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:25:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:25:29
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:25:29
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:25:24
B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:24
19:42:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4']
19:42:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:46
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:25:41
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:25:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:25:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:25:29
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:25:29
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:25:24
B>* 10.40.0.0/23 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:24
19:42:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-2
19:42:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:42:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:42:57 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 6
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 8 8 6 0 0 00:01:20 1 2 N/A
10.1.3.3 4 400 8 8 6 0 0 00:01:12 1 2 N/A
Total number of neighbors 2
19:42:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:42:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 6
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 8 8 6 0 0 00:01:20 1 2 N/A
10.1.3.3 4 400 8 8 6 0 0 00:01:12 1 2 N/A
Total number of neighbors 2
19:42:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-2
19:42:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']]
sub scenario retries: 5
sub scenario delay: 1
19:42:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 2 total paths']
not expect values: ['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
19:43:03 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.1.1 0 0 100 i
*> 10.40.0.0/23 10.1.3.3 0 0 400 i
Displayed 2 routes and 2 total paths
19:43:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.1.1 0 0 100 i', '*> 10.40.0.0/23 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 2 total paths']
19:43:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.1.1 0 0 100 i
*> 10.40.0.0/23 10.1.3.3 0 0 400 i
Displayed 2 routes and 2 total paths
19:43:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-2
19:43:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario retries: 10
sub scenario delay: 10
19:43:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:43:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:01:30
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:35
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:25:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:25:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:25:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:25:24
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:25:18
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:25:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:25:12
B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:44
19:43:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12']
19:43:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B 10.1.1.0/30 [20/0] via 10.1.1.1 inactive, weight 1, 00:01:30
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:35
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:25:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:25:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:25:24
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:25:24
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:25:18
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:25:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:25:12
B>* 10.40.0.0/23 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:44
19:43:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-4
19:43:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', 's> 10.40.0.0/24 0.0.0.0 0 32768 i', 's> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:43:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', 's> 10.40.0.0/24 0.0.0.0 0 32768 i', 's> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:43:13 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/23 0.0.0.0 0 32768 i
s> 10.40.0.0/24 0.0.0.0 0 32768 i
s> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:43:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.1.0/30 10.1.3.1 0 200 100 i', '*> 10.40.0.0/23 0.0.0.0 0 32768 i', 's> 10.40.0.0/24 0.0.0.0 0 32768 i', 's> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
19:43:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 10.1.3.1 0 200 100 i
*> 10.40.0.0/23 0.0.0.0 0 32768 i
s> 10.40.0.0/24 0.0.0.0 0 32768 i
s> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:43:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-1
19:43:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 3 10.40.1.1'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.40.1.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:43:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping -c 3 10.40.1.1'}
expect values: ['64 bytes from 10.40.1.1']
not expect values: []
19:43:21 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.40.1.1 (10.40.1.1) 56(84) bytes of data.
64 bytes from 10.40.1.1: icmp_seq=1 ttl=63 time=2.81 ms
64 bytes from 10.40.1.1: icmp_seq=2 ttl=63 time=1.40 ms
64 bytes from 10.40.1.1: icmp_seq=3 ttl=63 time=1.38 ms
--- 10.40.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.381/1.862/2.807/0.668 ms
19:43:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.40.1.1']
19:43:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.40.1.1 (10.40.1.1) 56(84) bytes of data.
64 bytes from 10.40.1.1: icmp_seq=1 ttl=63 time=2.81 ms
64 bytes from 10.40.1.1: icmp_seq=2 ttl=63 time=1.40 ms
64 bytes from 10.40.1.1: icmp_seq=3 ttl=63 time=1.38 ms
--- 10.40.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.381/1.862/2.807/0.668 ms
19:43:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.04-VERIFICATION2
node name: R-1
19:43:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 3 10.40.0.1'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.40.0.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:43:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping -c 3 10.40.0.1'}
expect values: ['64 bytes from 10.40.0.1']
not expect values: []
19:43:28 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.40.0.1 (10.40.0.1) 56(84) bytes of data.
64 bytes from 10.40.0.1: icmp_seq=1 ttl=63 time=2.10 ms
64 bytes from 10.40.0.1: icmp_seq=2 ttl=63 time=1.25 ms
64 bytes from 10.40.0.1: icmp_seq=3 ttl=63 time=2.62 ms
--- 10.40.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.248/1.987/2.620/0.565 ms
19:43:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.40.0.1']
19:43:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.40.0.1 (10.40.0.1) 56(84) bytes of data.
64 bytes from 10.40.0.1: icmp_seq=1 ttl=63 time=2.10 ms
64 bytes from 10.40.0.1: icmp_seq=2 ttl=63 time=1.25 ms
64 bytes from 10.40.0.1: icmp_seq=3 ttl=63 time=2.62 ms
--- 10.40.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.248/1.987/2.620/0.565 ms
19:43:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.05-DELETE
node name: R-1
19:43:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:43:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:43:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:43:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.05-DELETE
node name: R-2
19:43:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:43:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:43:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:43:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 09b.05-DELETE
node name: R-4
19:43:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:43:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:43:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:43:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:44 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:43:44 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Private AS Function
19:43:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.01-SET1
node name: R-1
19:43:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 65000" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 65000', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:43:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 65000" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 65000', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:43:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 65000
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 65000', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']
19:43:50 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:43:52 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.821 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.937 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.956 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.821/0.904/0.956/0.059 ms
19:43:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 65000
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.01-SET1
node name: R-2
19:43:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 65000" \\\n-c "neighbor 10.1.3.2 remote-as 65001" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 65000', 'neighbor 10.1.3.2 remote-as 65001', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.3.3 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:43:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 65000" \\\n-c "neighbor 10.1.3.2 remote-as 65001" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 65000', 'neighbor 10.1.3.2 remote-as 65001', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.3.3 next-hop-self']
not expect values: []
19:43:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 65000
neighbor 10.1.3.2 remote-as 65001
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:43:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 65000', 'neighbor 10.1.3.2 remote-as 65001', 'neighbor 10.1.3.3 remote-as 400', 'neighbor 10.1.3.3 next-hop-self']
19:43:58 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:44:00 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.00 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.885 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.616 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.616/0.835/1.004/0.162 ms
19:44:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 65000
neighbor 10.1.3.2 remote-as 65001
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:44:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.01-SET1
node name: R-3
19:44:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 65001', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 65001', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:44:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 65001
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:44:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 65001', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:44:06 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
19:44:08 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.659 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.799 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.750 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2015ms
rtt min/avg/max/mdev = 0.659/0.736/0.799/0.058 ms
19:44:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 65001
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:44:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.01-SET1
node name: R-4
19:44:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:44:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:44:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']
19:44:13 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:44:16 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.480 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.793 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.904 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2036ms
rtt min/avg/max/mdev = 0.480/0.725/0.904/0.179 ms
19:44:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:44:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-1
19:44:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:44:21 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 65000 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 4 0 0 00:00:23 2 4 N/A
Total number of neighbors 1
19:44:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:44:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 65000 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 4 0 0 00:00:23 2 4 N/A
Total number of neighbors 1
19:44:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-1
19:44:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 65001 i', '*> 10.30.1.0/24 10.1.1.2 0 200 65001 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 65001 i', '*> 10.30.1.0/24 10.1.1.2 0 200 65001 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:44:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 65000
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 65001 i
*> 10.30.1.0/24 10.1.1.2 0 200 65001 i
Displayed 4 routes and 4 total paths
19:44:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 65001 i', '*> 10.30.1.0/24 10.1.1.2 0 200 65001 i', 'Displayed 4 routes and 4 total paths']
19:44:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 65000
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 65001 i
*> 10.30.1.0/24 10.1.1.2 0 200 65001 i
Displayed 4 routes and 4 total paths
19:44:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-1
19:44:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:44:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:44:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:27:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:27:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:27:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:27:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:27:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:27:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:27:05
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:05
19:44:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:44:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:27:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:27:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:27:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:27:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:27:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:27:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:27:05
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:05
19:44:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-2
19:44:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 65000', '10.1.3.2 4 65001', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 65000', '10.1.3.2 4 65001', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
19:44:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 65000 5 5 4 0 0 00:00:39 2 4 N/A
10.1.3.2 4 65001 5 5 4 0 0 00:00:31 2 4 N/A
10.1.3.3 4 400 5 5 4 0 0 00:00:23 0 4 N/A
Total number of neighbors 3
19:44:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 65000', '10.1.3.2 4 65001', '10.1.3.3 4 400', 'Total number of neighbors 3']
19:44:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 65000 5 5 4 0 0 00:00:39 2 4 N/A
10.1.3.2 4 65001 5 5 4 0 0 00:00:31 2 4 N/A
10.1.3.3 4 400 5 5 4 0 0 00:00:23 0 4 N/A
Total number of neighbors 3
19:44:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-2
19:44:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 65000 i', '*> 10.10.2.0/24 10.1.1.1 0 0 65000 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65001 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65001 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 65000 i', '*> 10.10.2.0/24 10.1.1.1 0 0 65000 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65001 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65001 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:44:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 65000 i
*> 10.10.2.0/24 10.1.1.1 0 0 65000 i
*> 10.30.0.0/24 10.1.3.2 0 0 65001 i
*> 10.30.1.0/24 10.1.3.2 0 0 65001 i
Displayed 4 routes and 4 total paths
19:44:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 65000 i', '*> 10.10.2.0/24 10.1.1.1 0 0 65000 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65001 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65001 i', 'Displayed 4 routes and 4 total paths']
19:44:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 65000 i
*> 10.10.2.0/24 10.1.1.1 0 0 65000 i
*> 10.30.0.0/24 10.1.3.2 0 0 65001 i
*> 10.30.1.0/24 10.1.3.2 0 0 65001 i
Displayed 4 routes and 4 total paths
19:44:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-2
19:44:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:44:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12']
not expect values: []
19:44:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:27:15
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:27:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:27:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:27:04
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:27:04
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:26:58
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:26:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:24
19:44:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12']
19:44:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:27:15
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:27:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:27:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:27:04
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:27:04
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:26:58
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:26:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:24
19:44:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-3
19:44:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:44:54 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:47 2 4 N/A
Total number of neighbors 1
19:44:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:44:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:47 2 4 N/A
Total number of neighbors 1
19:44:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-3
19:44:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:44:59 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 65000 i
*> 10.10.2.0/24 10.1.3.1 0 200 65000 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:44:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
19:44:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 65000 i
*> 10.10.2.0/24 10.1.3.1 0 200 65000 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:44:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-4
19:44:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:44:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:45:05 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:51 4 4 N/A
Total number of neighbors 1
19:45:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:45:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:51 4 4 N/A
Total number of neighbors 1
19:45:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-4
19:45:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 10.1.3.1 0 200 65001 i', '*> 10.30.1.0/24 10.1.3.1 0 200 65001 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:45:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 10.1.3.1 0 200 65001 i', '*> 10.30.1.0/24 10.1.3.1 0 200 65001 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:45:10 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 65000 i
*> 10.10.2.0/24 10.1.3.1 0 200 65000 i
*> 10.30.0.0/24 10.1.3.1 0 200 65001 i
*> 10.30.1.0/24 10.1.3.1 0 200 65001 i
Displayed 4 routes and 4 total paths
19:45:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 65000 i', '*> 10.10.2.0/24 10.1.3.1 0 200 65000 i', '*> 10.30.0.0/24 10.1.3.1 0 200 65001 i', '*> 10.30.1.0/24 10.1.3.1 0 200 65001 i', 'Displayed 4 routes and 4 total paths']
19:45:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 65000 i
*> 10.10.2.0/24 10.1.3.1 0 200 65000 i
*> 10.30.0.0/24 10.1.3.1 0 200 65001 i
*> 10.30.1.0/24 10.1.3.1 0 200 65001 i
Displayed 4 routes and 4 total paths
19:45:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.02-VERIFICATION1
node name: R-4
19:45:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:45:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:45:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:45
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:26:45
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:26:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.10.2.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.30.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:39
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:26:39
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:34
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:53
19:45:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
19:45:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:45
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:26:45
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:26:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.10.2.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
B>* 10.30.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:00
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:39
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:26:39
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:34
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:53
19:45:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.03-SET2
node name: R-2
19:45:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 remove-private-AS" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.3.3 remove-private-AS']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:45:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 remove-private-AS" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.3.3 remove-private-AS']
not expect values: []
19:45:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 65000
neighbor 10.1.3.2 remote-as 65001
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 remove-private-AS
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.3.3 remove-private-AS']
19:45:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 65000
neighbor 10.1.3.2 remote-as 65001
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 remove-private-AS
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.04-VERIFICATION2
node name: R-4
19:45:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 i', '*> 10.10.2.0/24 10.1.3.1 0 200 i', '*> 10.30.0.0/24 10.1.3.1 0 200 i', '*> 10.30.1.0/24 10.1.3.1 0 200 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:45:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 i', '*> 10.10.2.0/24 10.1.3.1 0 200 i', '*> 10.30.0.0/24 10.1.3.1 0 200 i', '*> 10.30.1.0/24 10.1.3.1 0 200 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:45:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 i
*> 10.10.2.0/24 10.1.3.1 0 200 i
*> 10.30.0.0/24 10.1.3.1 0 200 i
*> 10.30.1.0/24 10.1.3.1 0 200 i
Displayed 4 routes and 4 total paths
19:45:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 i', '*> 10.10.2.0/24 10.1.3.1 0 200 i', '*> 10.30.0.0/24 10.1.3.1 0 200 i', '*> 10.30.1.0/24 10.1.3.1 0 200 i', 'Displayed 4 routes and 4 total paths']
19:45:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 i
*> 10.10.2.0/24 10.1.3.1 0 200 i
*> 10.30.0.0/24 10.1.3.1 0 200 i
*> 10.30.1.0/24 10.1.3.1 0 200 i
Displayed 4 routes and 4 total paths
19:45:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.05-DELETE
node name: R-1
19:45:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 65000" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 65000']]
sub scenario retries: 5
sub scenario delay: 1
19:45:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 65000" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 65000']
19:45:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:45:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.05-DELETE
node name: R-2
19:45:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:45:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:45:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:45:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.05-DELETE
node name: R-3
19:45:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 65001']]
sub scenario retries: 5
sub scenario delay: 1
19:45:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 65001']
19:45:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:45:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 10.05-DELETE
node name: R-4
19:45:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:45:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:45:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:45:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:48 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:45:48 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Peer Group Function
19:45:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.01-SET
node name: R-1
19:45:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:45:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:45:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200']
19:45:54 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:45:56 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.714 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.699 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.850 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2021ms
rtt min/avg/max/mdev = 0.699/0.754/0.850/0.067 ms
19:45:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:45:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.01-SET
node name: R-2
19:45:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 100" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor to-as400 peer-group" \\\n-c "neighbor to-as400 remote-as 400" \\\n-c "neighbor to-as400 next-hop-self" \\\n-c "neighbor to-as400 filter-list 1 out" \\\n-c "neighbor to-as400 route-map permit-all in" \\\n-c "neighbor to-as400 route-map permit-all out" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 peer-group to-as400" \\\n-c "neighbor 10.1.3.3 peer-group to-as400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['bgp as-path access-list 1', 'deny 100', 'bgp as-path access-list 1', 'permit .*', 'router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor to-as400 peer-group', 'neighbor to-as400 remote-as 400', 'neighbor to-as400 next-hop-self', 'neighbor to-as400 filter-list 1 out', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 peer-group to-as400', 'neighbor 10.1.3.3 peer-group to-as400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:45:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny 100" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor to-as400 peer-group" \\\n-c "neighbor to-as400 remote-as 400" \\\n-c "neighbor to-as400 next-hop-self" \\\n-c "neighbor to-as400 filter-list 1 out" \\\n-c "neighbor to-as400 route-map permit-all in" \\\n-c "neighbor to-as400 route-map permit-all out" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 peer-group to-as400" \\\n-c "neighbor 10.1.3.3 peer-group to-as400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['bgp as-path access-list 1', 'deny 100', 'bgp as-path access-list 1', 'permit .*', 'router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor to-as400 peer-group', 'neighbor to-as400 remote-as 400', 'neighbor to-as400 next-hop-self', 'neighbor to-as400 filter-list 1 out', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 peer-group to-as400', 'neighbor 10.1.3.3 peer-group to-as400']
not expect values: []
19:46:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor to-as400 peer-group
neighbor to-as400 remote-as 400
neighbor 10.1.3.2 peer-group to-as400
neighbor 10.1.3.3 peer-group to-as400
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor to-as400 next-hop-self
neighbor to-as400 route-map permit-all in
neighbor to-as400 route-map permit-all out
neighbor to-as400 filter-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 100
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bgp as-path access-list 1', 'deny 100', 'bgp as-path access-list 1', 'permit .*', 'router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor to-as400 peer-group', 'neighbor to-as400 remote-as 400', 'neighbor to-as400 next-hop-self', 'neighbor to-as400 filter-list 1 out', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 peer-group to-as400', 'neighbor 10.1.3.3 peer-group to-as400']
19:46:02 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:46:04 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.738 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.473 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.755 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2034ms
rtt min/avg/max/mdev = 0.473/0.655/0.755/0.129 ms
19:46:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor to-as400 peer-group
neighbor to-as400 remote-as 400
neighbor 10.1.3.2 peer-group to-as400
neighbor 10.1.3.3 peer-group to-as400
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor to-as400 next-hop-self
neighbor to-as400 route-map permit-all in
neighbor to-as400 route-map permit-all out
neighbor to-as400 filter-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
bgp as-path access-list 1 seq 5 deny 100
bgp as-path access-list 1 seq 10 permit .*
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.01-SET
node name: R-3
19:46:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:46:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
19:46:09 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
19:46:12 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.809 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.503 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.09 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.503/0.799/1.087/0.238 ms
19:46:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.01-SET
node name: R-4
19:46:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
19:46:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 200']
19:46:17 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:46:20 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.524 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.700 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.693 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2050ms
rtt min/avg/max/mdev = 0.524/0.639/0.700/0.081 ms
19:46:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:46:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-1
19:46:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
19:46:25 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 8 0 0 00:00:23 6 8 N/A
Total number of neighbors 1
19:46:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
19:46:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 8 0 0 00:00:23 6 8 N/A
Total number of neighbors 1
19:46:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-1
19:46:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.2 0 200 400 i', '*> 10.30.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.2 0 200 400 i', '*> 10.30.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:46:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
*> 10.20.1.0/24 10.1.1.2 0 0 200 i
*> 10.30.0.0/24 10.1.1.2 0 200 400 i
*> 10.30.1.0/24 10.1.1.2 0 200 400 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 8 routes and 8 total paths
19:46:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.2 0 200 400 i', '*> 10.30.1.0/24 10.1.1.2 0 200 400 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 8 routes and 8 total paths']
19:46:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
*> 10.20.1.0/24 10.1.1.2 0 0 200 i
*> 10.30.0.0/24 10.1.1.2 0 200 400 i
*> 10.30.1.0/24 10.1.1.2 0 200 400 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 8 routes and 8 total paths
19:46:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-1
19:46:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:46:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:46:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:29:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:29:26
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:29:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:29:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:29:09
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:33
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:33
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:09
19:46:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:46:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:29:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:29:26
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:29:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:29:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:29:09
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:33
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:33
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:09
19:46:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-2
19:46:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.2 4 400', '10.1.3.3 4 400', '10.1.1.1 4 100', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.2 4 400', '10.1.3.3 4 400', '10.1.1.1 4 100', 'Total number of neighbors 3']
not expect values: []
19:46:42 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 3, using 71 KiB of memory
Peer groups 1, using 64 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.2 4 400 5 6 8 0 0 00:00:31 2 6 N/A
10.1.3.3 4 400 5 5 8 0 0 00:00:23 2 6 N/A
10.1.1.1 4 100 7 7 8 0 0 00:00:39 2 8 N/A
Total number of neighbors 3
19:46:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.2 4 400', '10.1.3.3 4 400', '10.1.1.1 4 100', 'Total number of neighbors 3']
19:46:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 3, using 71 KiB of memory
Peer groups 1, using 64 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.2 4 400 5 6 8 0 0 00:00:31 2 6 N/A
10.1.3.3 4 400 5 5 8 0 0 00:00:23 2 6 N/A
10.1.1.1 4 100 7 7 8 0 0 00:00:39 2 8 N/A
Total number of neighbors 3
19:46:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-2
19:46:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.3.2 0 0 400 i', '*> 10.30.1.0/24 10.1.3.2 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.3.2 0 0 400 i', '*> 10.30.1.0/24 10.1.3.2 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:46:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.3.2 0 0 400 i
*> 10.30.1.0/24 10.1.3.2 0 0 400 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 8 routes and 8 total paths
19:46:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.3.2 0 0 400 i', '*> 10.30.1.0/24 10.1.3.2 0 0 400 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 8 routes and 8 total paths']
19:46:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.3.2 0 0 400 i
*> 10.30.1.0/24 10.1.3.2 0 0 400 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 8 routes and 8 total paths
19:46:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-2
19:46:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:46:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
19:46:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:29:19
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:29:19
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:29:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:29:08
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:29:08
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:29:02
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:28:56
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:28
19:46:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
19:46:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:29:19
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:29:19
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:29:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:29:08
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:29:08
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:29:02
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:28:56
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:28
19:46:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-3
19:46:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:46:58 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 5 4 0 0 00:00:48 2 4 N/A
Total number of neighbors 1
19:46:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:46:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 5 4 0 0 00:00:48 2 4 N/A
Total number of neighbors 1
19:46:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-3
19:46:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:46:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:47:03 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.3.1 0 0 200 i
*> 10.20.1.0/24 10.1.3.1 0 0 200 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:47:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
19:47:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.3.1 0 0 200 i
*> 10.20.1.0/24 10.1.3.1 0 0 200 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:47:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-3
19:47:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:47:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:47:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:29:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:29:07
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:29:02
B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:56
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:49
19:47:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
19:47:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:29:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:29:07
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:29:02
B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:56
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:49
19:47:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-4
19:47:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:47:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
19:47:14 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:56 2 4 N/A
Total number of neighbors 1
19:47:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
19:47:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 4
RIB entries 7, using 896 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 5 5 4 0 0 00:00:56 2 4 N/A
Total number of neighbors 1
19:47:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-4
19:47:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:47:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
not expect values: []
19:47:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.3.1 0 0 200 i
*> 10.20.1.0/24 10.1.3.1 0 0 200 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:47:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.20.0.0/24 10.1.3.1 0 0 200 i', '*> 10.20.1.0/24 10.1.3.1 0 0 200 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 4 routes and 4 total paths']
19:47:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.3.1 0 0 200 i
*> 10.20.1.0/24 10.1.3.1 0 0 200 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 4 routes and 4 total paths
19:47:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.02-VERIFICATION
node name: R-4
19:47:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:47:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
not expect values: []
19:47:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:28:55
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:29:01
B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:49
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:28:49
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:44
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:28:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:03
19:47:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8']
19:47:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:28:55
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:29:01
B>* 10.20.0.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
B>* 10.20.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:49
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:28:49
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:44
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:28:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:03
19:47:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.03-DELETE
node name: R-1
19:47:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:47:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:47:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:47:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.03-DELETE
node name: R-2
19:47:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['bgp as-path access-list 1', 'router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:47:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['bgp as-path access-list 1', 'router bgp 200']
19:47:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:47:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.03-DELETE
node name: R-3
19:47:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:47:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:47:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:47:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 11.03-DELETE
node name: R-4
19:47:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:47:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 400']
19:47:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:47:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:47 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:47:47 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Confederation Function
19:47:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.01-SET
node name: R-1
19:47:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.0.0/21 10.1.1.2" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "bgp confederation peers 65002" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 65002" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "neighbor 10.1.1.10 remote-as 65001" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.0.0/21 10.1.1.2', 'router bgp 65001', 'bgp router-id 10.10.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65002', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 65002', 'neighbor 10.1.1.2 next-hop-self', 'neighbor 10.1.1.10 remote-as 65001']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:47:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.0.0/21 10.1.1.2" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "bgp confederation peers 65002" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 65002" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "neighbor 10.1.1.10 remote-as 65001" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.0.0/21 10.1.1.2', 'router bgp 65001', 'bgp router-id 10.10.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65002', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 65002', 'neighbor 10.1.1.2 next-hop-self', 'neighbor 10.1.1.10 remote-as 65001']
not expect values: []
19:47:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.0.0/21 10.1.1.2
!
router bgp 65001
bgp router-id 10.10.1.1
bgp confederation identifier 100
bgp confederation peers 65002
neighbor 10.1.1.2 remote-as 65002
neighbor 10.1.1.10 remote-as 65001
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.0.0/21 10.1.1.2', 'router bgp 65001', 'bgp router-id 10.10.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65002', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 65002', 'neighbor 10.1.1.2 next-hop-self', 'neighbor 10.1.1.10 remote-as 65001']
19:47:53 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:47:55 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.920 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.680 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.42 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2025ms
rtt min/avg/max/mdev = 0.680/1.005/1.416/0.306 ms
19:47:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.0.0/21 10.1.1.2
!
router bgp 65001
bgp router-id 10.10.1.1
bgp confederation identifier 100
bgp confederation peers 65002
neighbor 10.1.1.2 remote-as 65002
neighbor 10.1.1.10 remote-as 65001
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:47:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.01-SET
node name: R-2
19:47:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 65002" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "bgp confederation peers 65001" \\\n-c "neighbor 10.1.1.1 remote-as 65001" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 65002" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65002', 'bgp router-id 10.20.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65001', 'neighbor 10.1.1.1 remote-as 65001', 'neighbor 10.1.3.3 remote-as 65002']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:47:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 65002" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "bgp confederation peers 65001" \\\n-c "neighbor 10.1.1.1 remote-as 65001" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 65002" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65002', 'bgp router-id 10.20.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65001', 'neighbor 10.1.1.1 remote-as 65001', 'neighbor 10.1.3.3 remote-as 65002']
not expect values: []
19:48:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 65002
bgp router-id 10.20.1.1
bgp confederation identifier 100
bgp confederation peers 65001
neighbor 10.1.1.1 remote-as 65001
neighbor 10.1.3.3 remote-as 65002
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65002', 'bgp router-id 10.20.1.1', 'bgp confederation identifier 100', 'bgp confederation peers 65001', 'neighbor 10.1.1.1 remote-as 65001', 'neighbor 10.1.3.3 remote-as 65002']
19:48:00 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:48:03 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.876 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.953 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.820 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.820/0.883/0.953/0.054 ms
19:48:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 65002
bgp router-id 10.20.1.1
bgp confederation identifier 100
bgp confederation peers 65001
neighbor 10.1.1.1 remote-as 65001
neighbor 10.1.3.3 remote-as 65002
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.01-SET
node name: R-3
19:48:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 65001" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65001', 'bgp router-id 10.30.1.1', 'bgp confederation identifier 100', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 65001']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 65001" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 65001" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65001', 'bgp router-id 10.30.1.1', 'bgp confederation identifier 100', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 65001']
not expect values: []
19:48:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 65001
bgp router-id 10.30.1.1
bgp confederation identifier 100
neighbor 10.1.1.9 remote-as 65001
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65001', 'bgp router-id 10.30.1.1', 'bgp confederation identifier 100', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 65001']
19:48:08 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
19:48:11 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.728 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.852 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.608 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2028ms
rtt min/avg/max/mdev = 0.608/0.729/0.852/0.099 ms
19:48:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 65001
bgp router-id 10.30.1.1
bgp confederation identifier 100
neighbor 10.1.1.9 remote-as 65001
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.01-SET
node name: R-4
19:48:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/30 10.1.3.1" \\\n-c "router bgp 65002" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 65002" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 remote-as 500" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.1.0/30 10.1.3.1', 'router bgp 65002', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'bgp confederation identifier 100', 'neighbor 10.1.3.1 remote-as 65002', 'neighbor 10.1.4.2 remote-as 500']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/30 10.1.3.1" \\\n-c "router bgp 65002" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "bgp confederation identifier 100" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 65002" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 remote-as 500" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.1.0/30 10.1.3.1', 'router bgp 65002', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'bgp confederation identifier 100', 'neighbor 10.1.3.1 remote-as 65002', 'neighbor 10.1.4.2 remote-as 500']
not expect values: []
19:48:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/30 10.1.3.1
!
router bgp 65002
bgp router-id 10.40.1.1
bgp confederation identifier 100
neighbor 10.1.3.1 remote-as 65002
neighbor 10.1.4.2 remote-as 500
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.1.0/30 10.1.3.1', 'router bgp 65002', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'bgp router-id 10.40.1.1', 'bgp confederation identifier 100', 'neighbor 10.1.3.1 remote-as 65002', 'neighbor 10.1.4.2 remote-as 500']
19:48:16 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:48:19 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.789 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.708 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.876 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.708/0.791/0.876/0.068 ms
19:48:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/30 10.1.3.1
!
router bgp 65002
bgp router-id 10.40.1.1
bgp confederation identifier 100
neighbor 10.1.3.1 remote-as 65002
neighbor 10.1.4.2 remote-as 500
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.01-SET
node name: R-5
19:48:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 500" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "network 10.50.0.0/24" \\\n-c "network 10.50.1.0/24" \\\n-c "neighbor 10.1.4.1 remote-as 100" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 500', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 500" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "network 10.50.0.0/24" \\\n-c "network 10.50.1.0/24" \\\n-c "neighbor 10.1.4.1 remote-as 100" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 500', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 100']
not expect values: []
19:48:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 500
bgp router-id 10.50.1.1
neighbor 10.1.4.1 remote-as 100
!
address-family ipv4 unicast
network 10.50.0.0/24
network 10.50.1.0/24
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 500', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 100']
19:48:24 test_sonic.run_scenario L0252 INFO | [R-5] Auto Ping Verification to neighbor: 10.1.4.1
19:48:26 test_sonic.run_scenario L0254 INFO | [R-5] Ping result:
PING 10.1.4.1 (10.1.4.1) 56(84) bytes of data.
64 bytes from 10.1.4.1: icmp_seq=1 ttl=64 time=0.641 ms
64 bytes from 10.1.4.1: icmp_seq=2 ttl=64 time=0.943 ms
64 bytes from 10.1.4.1: icmp_seq=3 ttl=64 time=0.686 ms
--- 10.1.4.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.641/0.756/0.943/0.133 ms
19:48:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 500
bgp router-id 10.50.1.1
neighbor 10.1.4.1 remote-as 100
!
address-family ipv4 unicast
network 10.50.0.0/24
network 10.50.1.0/24
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:48:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-1
19:48:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 65002', '10.1.1.10 4 65001', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 65002', '10.1.1.10 4 65001', 'Total number of neighbors 2']
not expect values: []
19:48:32 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 65002 7 7 8 0 0 00:00:30 4 8 N/A
10.1.1.10 4 65001 4 6 8 0 0 00:00:22 2 6 FRRouting/10.3
Total number of neighbors 2
19:48:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 65002', '10.1.1.10 4 65001', 'Total number of neighbors 2']
19:48:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 65002 7 7 8 0 0 00:00:30 4 8 N/A
10.1.1.10 4 65001 4 6 8 0 0 00:00:22 2 6 FRRouting/10.3
Total number of neighbors 2
19:48:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-1
19:48:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*>i 10.30.0.0/24 10.1.1.10 0 100 0 i', '*>i 10.30.1.0/24 10.1.1.10 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*> 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*>i 10.30.0.0/24 10.1.1.10 0 100 0 i', '*>i 10.30.1.0/24 10.1.1.10 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*> 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:48:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*>i 10.30.0.0/24 10.1.1.10 0 100 0 i
*>i 10.30.1.0/24 10.1.1.10 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i
*> 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i
*> 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i
*> 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i
Displayed 8 routes and 8 total paths
19:48:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*>i 10.30.0.0/24 10.1.1.10 0 100 0 i', '*>i 10.30.1.0/24 10.1.1.10 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*> 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*> 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']
19:48:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*>i 10.30.0.0/24 10.1.1.10 0 100 0 i
*>i 10.30.1.0/24 10.1.1.10 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i
*> 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i
*> 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i
*> 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i
Displayed 8 routes and 8 total paths
19:48:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-1
19:48:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B> 10.40.0.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.40.1.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:48:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B> 10.40.0.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.40.1.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.1.2, Ethernet4']
not expect values: []
19:48:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.0.0/21 [1/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:31:32
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:31:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:31:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:15
B>* 10.30.0.0/24 [200/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B>* 10.30.1.0/24 [200/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B> 10.40.0.0/24 [200/0] via 10.1.3.3 (recursive), weight 1, 00:00:24
* via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B> 10.40.1.0/24 [200/0] via 10.1.3.3 (recursive), weight 1, 00:00:24
* via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:16
* via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:16
* via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:15
19:48:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.10, Ethernet8', 'B> 10.40.0.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.40.1.0/24 [200/0] via 10.1.3.3 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.1.2, Ethernet4']
19:48:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.0.0/21 [1/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:50
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:31:32
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:31:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:31:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:15
B>* 10.30.0.0/24 [200/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B>* 10.30.1.0/24 [200/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:32
B> 10.40.0.0/24 [200/0] via 10.1.3.3 (recursive), weight 1, 00:00:24
* via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B> 10.40.1.0/24 [200/0] via 10.1.3.3 (recursive), weight 1, 00:00:24
* via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:16
* via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:16
* via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:15
19:48:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-2
19:48:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 65001', '10.1.3.3 4 65002', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 65001', '10.1.3.3 4 65002', 'Total number of neighbors 2']
not expect values: []
19:48:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 65002 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 65001 7 7 8 0 0 00:00:47 4 8 N/A
10.1.3.3 4 65002 5 4 8 0 0 00:00:31 4 4 FRRouting/10.3
Total number of neighbors 2
19:48:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 65001', '10.1.3.3 4 65002', 'Total number of neighbors 2']
19:48:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 65002 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 65001 7 7 8 0 0 00:00:47 4 8 N/A
10.1.3.3 4 65002 5 4 8 0 0 00:00:31 4 4 FRRouting/10.3
Total number of neighbors 2
19:48:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-2
19:48:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 500 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 500 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:48:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 500 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 500 i
Displayed 8 routes and 8 total paths
19:48:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 500 i', 'Displayed 8 routes and 8 total paths']
19:48:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 500 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 500 i
Displayed 8 routes and 8 total paths
19:48:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-2
19:48:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:48:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']
not expect values: []
19:48:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:25
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:31:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:31:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:31:14
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:31:14
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:58
B>* 10.10.1.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:56
B>* 10.10.2.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:56
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:31:08
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:31:02
B>* 10.30.0.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
B>* 10.30.1.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:40
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:40
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:32
* via 10.1.3.3, Ethernet12, weight 1, 00:00:32
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:32
* via 10.1.3.3, Ethernet12, weight 1, 00:00:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:34
19:48:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']
19:48:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:25
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:31:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:31:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:31:14
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:31:14
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:58
B>* 10.10.1.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:56
B>* 10.10.2.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:56
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:31:08
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:31:02
B>* 10.30.0.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
B>* 10.30.1.0/24 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:40
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:40
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:32
* via 10.1.3.3, Ethernet12, weight 1, 00:00:32
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:32
* via 10.1.3.3, Ethernet12, weight 1, 00:00:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:34
19:48:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-3
19:48:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 65001', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:48:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 65001', 'Total number of neighbors 1']
not expect values: []
19:49:04 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 65001 6 4 8 0 0 00:00:55 6 2 FRRouting/10.3
Total number of neighbors 1
19:49:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 65001', 'Total number of neighbors 1']
19:49:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 65001 6 4 8 0 0 00:00:55 6 2 FRRouting/10.3
Total number of neighbors 1
19:49:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-3
19:49:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.9 0 100 0 i', '*>i 10.10.2.0/24 10.1.1.9 0 100 0 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:49:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.9 0 100 0 i', '*>i 10.10.2.0/24 10.1.1.9 0 100 0 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:49:10 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.9 0 100 0 i
*>i 10.10.2.0/24 10.1.1.9 0 100 0 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i
Displayed 8 routes and 8 total paths
19:49:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.9 0 100 0 i', '*>i 10.10.2.0/24 10.1.1.9 0 100 0 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i', 'Displayed 8 routes and 8 total paths']
19:49:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.9 0 100 0 i
*>i 10.10.2.0/24 10.1.1.9 0 100 0 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 (65002) i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 (65002) i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 (65002) 500 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 (65002) 500 i
Displayed 8 routes and 8 total paths
19:49:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-3
19:49:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:49:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet8']
not expect values: []
19:49:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:31:13
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:31:13
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:08
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:07
B>* 10.10.1.0/24 [200/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:05
B>* 10.10.2.0/24 [200/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:05
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:02
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:56
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:57
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:57
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:49
* via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:49
* via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:55
19:49:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [200/0] via 10.1.1.9, Ethernet0', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet8']
19:49:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:31:13
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:31:13
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:08
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:07
B>* 10.10.1.0/24 [200/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:05
B>* 10.10.2.0/24 [200/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:05
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:02
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:56
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:57
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:57
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:49
* via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:49
* via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:55
19:49:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-4
19:49:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 65002', '10.1.4.2 4 500', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:49:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 65002', '10.1.4.2 4 500', 'Total number of neighbors 2']
not expect values: []
19:49:21 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 65002 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 65002 5 6 8 0 0 00:01:03 4 4 FRRouting/10.3
10.1.4.2 4 500 5 6 8 0 0 00:00:55 2 8 N/A
Total number of neighbors 2
19:49:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 65002', '10.1.4.2 4 500', 'Total number of neighbors 2']
19:49:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 65002 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 65002 5 6 8 0 0 00:01:03 4 4 FRRouting/10.3
10.1.4.2 4 500 5 6 8 0 0 00:00:55 2 8 N/A
Total number of neighbors 2
19:49:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-4
19:49:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.50.0.0/24 10.1.4.2 0 0 500 i', '*> 10.50.1.0/24 10.1.4.2 0 0 500 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:49:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.50.0.0/24 10.1.4.2 0 0 500 i', '*> 10.50.1.0/24 10.1.4.2 0 0 500 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:49:26 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
*> 10.50.0.0/24 10.1.4.2 0 0 500 i
*> 10.50.1.0/24 10.1.4.2 0 0 500 i
Displayed 8 routes and 8 total paths
19:49:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i', '*>i 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', '*> 10.50.0.0/24 10.1.4.2 0 0 500 i', '*> 10.50.1.0/24 10.1.4.2 0 0 500 i', 'Displayed 8 routes and 8 total paths']
19:49:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.30.0.0/24 10.1.1.1 0 100 0 (65001) i
*>i 10.30.1.0/24 10.1.1.1 0 100 0 (65001) i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
*> 10.50.0.0/24 10.1.4.2 0 0 500 i
*> 10.50.1.0/24 10.1.4.2 0 0 500 i
Displayed 8 routes and 8 total paths
19:49:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-4
19:49:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.50.0.0/24 [20/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:49:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.50.0.0/24 [20/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']
not expect values: []
19:49:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/30 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:15
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:01
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:31:01
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:31:07
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.30.0.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.30.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:30:55
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:30:55
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:50
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:30:50
B>* 10.50.0.0/24 [20/0] via 10.1.4.2, Ethernet4, weight 1, 00:01:05
B>* 10.50.1.0/24 [20/0] via 10.1.4.2, Ethernet4, weight 1, 00:01:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:09
19:49:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.50.0.0/24 [20/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']
19:49:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/30 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:15
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:01
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:31:01
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:31:07
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.30.0.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
B> 10.30.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:13
* via 10.1.3.1, Ethernet8, weight 1, 00:01:13
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:30:55
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:30:55
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:50
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:30:50
B>* 10.50.0.0/24 [20/0] via 10.1.4.2, Ethernet4, weight 1, 00:01:05
B>* 10.50.1.0/24 [20/0] via 10.1.4.2, Ethernet4, weight 1, 00:01:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:09
19:49:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-5
19:49:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.4.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:49:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.4.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:49:37 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 500 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 100 7 6 8 0 0 00:01:12 6 8 N/A
Total number of neighbors 1
19:49:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.4.1 4 100', 'Total number of neighbors 1']
19:49:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 500 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 100 7 6 8 0 0 00:01:12 6 8 N/A
Total number of neighbors 1
19:49:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-5
19:49:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.4.1 0 100 i', '*> 10.10.2.0/24 10.1.4.1 0 100 i', '*> 10.30.0.0/24 10.1.4.1 0 100 i', '*> 10.30.1.0/24 10.1.4.1 0 100 i', '*> 10.40.0.0/24 10.1.4.1 0 0 100 i', '*> 10.40.1.0/24 10.1.4.1 0 0 100 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 8 routes and 8 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:49:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.4.1 0 100 i', '*> 10.10.2.0/24 10.1.4.1 0 100 i', '*> 10.30.0.0/24 10.1.4.1 0 100 i', '*> 10.30.1.0/24 10.1.4.1 0 100 i', '*> 10.40.0.0/24 10.1.4.1 0 0 100 i', '*> 10.40.1.0/24 10.1.4.1 0 0 100 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 8 routes and 8 total paths']
not expect values: []
19:49:42 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 500
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.4.1 0 100 i
*> 10.10.2.0/24 10.1.4.1 0 100 i
*> 10.30.0.0/24 10.1.4.1 0 100 i
*> 10.30.1.0/24 10.1.4.1 0 100 i
*> 10.40.0.0/24 10.1.4.1 0 0 100 i
*> 10.40.1.0/24 10.1.4.1 0 0 100 i
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 8 routes and 8 total paths
19:49:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.4.1 0 100 i', '*> 10.10.2.0/24 10.1.4.1 0 100 i', '*> 10.30.0.0/24 10.1.4.1 0 100 i', '*> 10.30.1.0/24 10.1.4.1 0 100 i', '*> 10.40.0.0/24 10.1.4.1 0 0 100 i', '*> 10.40.1.0/24 10.1.4.1 0 0 100 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 8 routes and 8 total paths']
19:49:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 500
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.4.1 0 100 i
*> 10.10.2.0/24 10.1.4.1 0 100 i
*> 10.30.0.0/24 10.1.4.1 0 100 i
*> 10.30.1.0/24 10.1.4.1 0 100 i
*> 10.40.0.0/24 10.1.4.1 0 0 100 i
*> 10.40.1.0/24 10.1.4.1 0 0 100 i
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 8 routes and 8 total paths
19:49:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.02-VERIFICATION
node name: R-5
19:49:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.1.0/24 [20/0] via 10.1.4.1, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:49:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.1.0/24 [20/0] via 10.1.4.1, Ethernet0']
not expect values: []
19:49:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:31:01
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:31:01
B>* 10.10.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.10.2.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.30.0.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.30.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.40.0.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.40.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:30:55
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:30:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:23
19:49:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.30.1.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.0.0/24 [20/0] via 10.1.4.1, Ethernet0', 'B>* 10.40.1.0/24 [20/0] via 10.1.4.1, Ethernet0']
19:49:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:31:01
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:31:01
B>* 10.10.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.10.2.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.30.0.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.30.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.40.0.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
B>* 10.40.1.0/24 [20/0] via 10.1.4.1, Ethernet0, weight 1, 00:01:22
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:30:55
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:30:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:23
19:49:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.03-DELETE
node name: R-1
19:49:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.0.0/21 10.1.1.2" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.0.0/21 10.1.1.2', 'router bgp 65001']]
sub scenario retries: 5
sub scenario delay: 1
19:49:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.0.0/21 10.1.1.2" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.0.0/21 10.1.1.2', 'router bgp 65001']
19:49:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:49:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:49:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:49:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.03-DELETE
node name: R-2
19:49:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 65002" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65002']]
sub scenario retries: 5
sub scenario delay: 1
19:49:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 65002" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65002']
19:49:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:49:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:49:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:49:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.03-DELETE
node name: R-3
19:49:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65001']]
sub scenario retries: 5
sub scenario delay: 1
19:49:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 65001']
19:50:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:50:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.03-DELETE
node name: R-4
19:50:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/30 10.1.3.1" \\\n-c "no router bgp 65002" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.1.0/30 10.1.3.1', 'router bgp 65002']]
sub scenario retries: 5
sub scenario delay: 1
19:50:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/30 10.1.3.1" \\\n-c "no router bgp 65002" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.1.0/30 10.1.3.1', 'router bgp 65002']
19:50:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:50:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 12.03-DELETE
node name: R-5
19:50:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 500" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 500']]
sub scenario retries: 5
sub scenario delay: 1
19:50:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 500" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 500']
19:50:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:50:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:15 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:50:15 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Route Reflector Function
19:50:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.01-SET1
node name: R-1
19:50:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 400" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 400" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 400']
not expect values: []
19:50:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 400
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 400']
19:50:21 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:50:23 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.02 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.885 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.740 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.740/0.882/1.021/0.114 ms
19:50:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 400
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.01-SET1
node name: R-2
19:50:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 400', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 400', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
19:50:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 400
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 400', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.3 remote-as 400']
19:50:28 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:50:31 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.473 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.748 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.942 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2033ms
rtt min/avg/max/mdev = 0.473/0.721/0.942/0.192 ms
19:50:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 400
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.01-SET1
node name: R-3
19:50:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "ip route 10.1.1.0/24 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.4.0/24 10.1.3.3" \\\n-c "ip route 10.1.1.0/24 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
19:50:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 400
bgp router-id 10.30.1.1
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.4.0/24 10.1.3.3', 'ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.3 remote-as 400']
19:50:36 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.3
19:50:39 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.3 (10.1.3.3) 56(84) bytes of data.
64 bytes from 10.1.3.3: icmp_seq=1 ttl=64 time=0.815 ms
64 bytes from 10.1.3.3: icmp_seq=2 ttl=64 time=0.898 ms
64 bytes from 10.1.3.3: icmp_seq=3 ttl=64 time=1.42 ms
--- 10.1.3.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 0.815/1.043/1.417/0.266 ms
19:50:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
ip route 10.1.4.0/24 10.1.3.3
!
router bgp 400
bgp router-id 10.30.1.1
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.01-SET1
node name: R-4
19:50:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/24 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 400" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 400" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 remote-as 400" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 400', 'neighbor 10.1.3.2 remote-as 400', 'neighbor 10.1.4.2 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/24 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "neighbor 10.1.3.1 remote-as 400" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 400" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.4.2 remote-as 400" \\\n-c "neighbor 10.1.4.2 route-map permit-all in" \\\n-c "neighbor 10.1.4.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 400', 'neighbor 10.1.3.2 remote-as 400', 'neighbor 10.1.4.2 remote-as 400']
not expect values: []
19:50:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 400
neighbor 10.1.3.2 remote-as 400
neighbor 10.1.4.2 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400', 'bgp router-id 10.40.1.1', 'neighbor 10.1.3.1 remote-as 400', 'neighbor 10.1.3.2 remote-as 400', 'neighbor 10.1.4.2 remote-as 400']
19:50:44 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
19:50:46 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.651 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.12 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.723 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.651/0.830/1.118/0.205 ms
19:50:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 400
neighbor 10.1.3.2 remote-as 400
neighbor 10.1.4.2 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.01-SET1
node name: R-5
19:50:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/24 10.1.4.1" \\\n-c "ip route 10.1.3.0/24 10.1.4.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "network 10.50.0.0/24" \\\n-c "network 10.50.1.0/24" \\\n-c "neighbor 10.1.4.1 remote-as 400" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.1.0/24 10.1.4.1', 'ip route 10.1.3.0/24 10.1.4.1', 'router bgp 400', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.1.0/24 10.1.4.1" \\\n-c "ip route 10.1.3.0/24 10.1.4.1" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.50.1.1" \\\n-c "network 10.50.0.0/24" \\\n-c "network 10.50.1.0/24" \\\n-c "neighbor 10.1.4.1 remote-as 400" \\\n-c "neighbor 10.1.4.1 route-map permit-all in" \\\n-c "neighbor 10.1.4.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.1.0/24 10.1.4.1', 'ip route 10.1.3.0/24 10.1.4.1', 'router bgp 400', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 400']
not expect values: []
19:50:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.4.1
ip route 10.1.3.0/24 10.1.4.1
!
router bgp 400
bgp router-id 10.50.1.1
neighbor 10.1.4.1 remote-as 400
!
address-family ipv4 unicast
network 10.50.0.0/24
network 10.50.1.0/24
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.1.0/24 10.1.4.1', 'ip route 10.1.3.0/24 10.1.4.1', 'router bgp 400', 'network 10.50.0.0/24', 'network 10.50.1.0/24', 'bgp router-id 10.50.1.1', 'neighbor 10.1.4.1 remote-as 400']
19:50:52 test_sonic.run_scenario L0252 INFO | [R-5] Auto Ping Verification to neighbor: 10.1.4.1
19:50:55 test_sonic.run_scenario L0254 INFO | [R-5] Ping result:
PING 10.1.4.1 (10.1.4.1) 56(84) bytes of data.
64 bytes from 10.1.4.1: icmp_seq=1 ttl=64 time=0.778 ms
64 bytes from 10.1.4.1: icmp_seq=2 ttl=64 time=0.582 ms
64 bytes from 10.1.4.1: icmp_seq=3 ttl=64 time=1.07 ms
--- 10.1.4.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2035ms
rtt min/avg/max/mdev = 0.582/0.809/1.067/0.199 ms
19:50:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.4.1
ip route 10.1.3.0/24 10.1.4.1
!
router bgp 400
bgp router-id 10.50.1.1
neighbor 10.1.4.1 remote-as 400
!
address-family ipv4 unicast
network 10.50.0.0/24
network 10.50.1.0/24
neighbor 10.1.4.1 route-map permit-all in
neighbor 10.1.4.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:50:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-1
19:50:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:50:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 400', 'Total number of neighbors 1']
not expect values: []
19:51:00 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 400 4 4 2 0 0 00:00:30 0 2 N/A
Total number of neighbors 1
19:51:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 400', 'Total number of neighbors 1']
19:51:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 400 4 4 2 0 0 00:00:30 0 2 N/A
Total number of neighbors 1
19:51:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-1
19:51:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:51:05 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
19:51:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-2
19:51:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:51:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 2 0 0 00:00:41 2 2 N/A
10.1.3.3 4 400 3 4 2 0 0 00:00:25 0 2 FRRouting/10.3
Total number of neighbors 2
19:51:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:51:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 4 4 2 0 0 00:00:41 2 2 N/A
10.1.3.3 4 400 3 4 2 0 0 00:00:25 0 2 FRRouting/10.3
Total number of neighbors 2
19:51:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-2
19:51:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:51:16 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
Displayed 2 routes and 2 total paths
19:51:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', 'Displayed 2 routes and 2 total paths']
19:51:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
Displayed 2 routes and 2 total paths
19:51:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-3
19:51:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.3 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.3 4 400', 'Total number of neighbors 1']
not expect values: []
19:51:22 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.3 4 400 3 4 2 0 0 00:00:37 0 2 FRRouting/10.3
Total number of neighbors 1
19:51:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.3 4 400', 'Total number of neighbors 1']
19:51:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.3 4 400 3 4 2 0 0 00:00:37 0 2 FRRouting/10.3
Total number of neighbors 1
19:51:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-3
19:51:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:51:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
19:51:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-4
19:51:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 400', '10.1.3.2 4 400', '10.1.4.2 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 400', '10.1.3.2 4 400', '10.1.4.2 4 400', 'Total number of neighbors 3']
not expect values: []
19:51:33 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 400 4 3 6 0 0 00:00:47 2 0 FRRouting/10.3
10.1.3.2 4 400 4 3 6 0 0 00:00:47 2 0 FRRouting/10.3
10.1.4.2 4 400 4 3 6 0 0 00:00:39 2 0 FRRouting/10.3
Total number of neighbors 3
19:51:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 400', '10.1.3.2 4 400', '10.1.4.2 4 400', 'Total number of neighbors 3']
19:51:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 400 4 3 6 0 0 00:00:47 2 0 FRRouting/10.3
10.1.3.2 4 400 4 3 6 0 0 00:00:47 2 0 FRRouting/10.3
10.1.4.2 4 400 4 3 6 0 0 00:00:39 2 0 FRRouting/10.3
Total number of neighbors 3
19:51:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-4
19:51:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:51:38 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:51:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
19:51:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:51:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-4
19:51:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.50.0.0/24 [200/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [200/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:51:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.50.0.0/24 [200/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [200/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']
not expect values: []
19:51:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:33:13
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:33:19
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:57
* via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:57
* via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:57
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:57
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:07
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:33:07
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:02
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:33:02
B>* 10.50.0.0/24 [200/0] via 10.1.4.2, Ethernet4, weight 1, 00:00:49
B>* 10.50.1.0/24 [200/0] via 10.1.4.2, Ethernet4, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:21
19:51:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet8', 'B>* 10.50.0.0/24 [200/0] via 10.1.4.2, Ethernet4', 'B>* 10.50.1.0/24 [200/0] via 10.1.4.2, Ethernet4', '* via 10.1.3.1, Ethernet8']
19:51:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:33:13
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:33:19
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:57
* via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:57
* via 10.1.3.1, Ethernet8, weight 1, 00:00:57
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:57
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:57
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:07
K 10.40.0.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:33:07
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:02
K 10.40.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:33:02
B>* 10.50.0.0/24 [200/0] via 10.1.4.2, Ethernet4, weight 1, 00:00:49
B>* 10.50.1.0/24 [200/0] via 10.1.4.2, Ethernet4, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:21
19:51:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-5
19:51:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.4.1 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.4.1 4 400', 'Total number of neighbors 1']
not expect values: []
19:51:49 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 400 3 4 2 0 0 00:00:56 0 2 FRRouting/10.3
Total number of neighbors 1
19:51:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.4.1 4 400', 'Total number of neighbors 1']
19:51:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 2
RIB entries 3, using 384 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 400 3 4 2 0 0 00:00:56 0 2 FRRouting/10.3
Total number of neighbors 1
19:51:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.02-VERIFICATION1
node name: R-5
19:51:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
not expect values: []
19:51:54 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 2 routes and 2 total paths']
19:51:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:51:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.03-SET2
node name: R-4
19:51:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-reflector-client" \\\n-c "neighbor 10.1.4.2 route-reflector-client" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'neighbor 10.1.3.1 route-reflector-client', 'neighbor 10.1.4.2 route-reflector-client']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:51:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-reflector-client" \\\n-c "neighbor 10.1.4.2 route-reflector-client" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'neighbor 10.1.3.1 route-reflector-client', 'neighbor 10.1.4.2 route-reflector-client']
not expect values: []
19:52:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 400
neighbor 10.1.3.2 remote-as 400
neighbor 10.1.4.2 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-reflector-client
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.4.2 route-reflector-client
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:52:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'neighbor 10.1.3.1 route-reflector-client', 'neighbor 10.1.4.2 route-reflector-client']
19:52:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.1.0/24 10.1.3.1
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 400
neighbor 10.1.3.2 remote-as 400
neighbor 10.1.4.2 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-reflector-client
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.4.2 route-reflector-client
neighbor 10.1.4.2 route-map permit-all in
neighbor 10.1.4.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:52:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-1
19:52:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 400', 'Total number of neighbors 1']
not expect values: []
19:52:05 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 400 7 6 6 0 0 00:01:36 4 6 N/A
Total number of neighbors 1
19:52:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 400', 'Total number of neighbors 1']
19:52:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 400 7 6 6 0 0 00:01:36 4 6 N/A
Total number of neighbors 1
19:52:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-1
19:52:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 400 i', '*> 10.30.1.0/24 10.1.1.2 0 400 i', '*> 10.50.0.0/24 10.1.1.2 0 400 i', '*> 10.50.1.0/24 10.1.1.2 0 400 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 400 i', '*> 10.30.1.0/24 10.1.1.2 0 400 i', '*> 10.50.0.0/24 10.1.1.2 0 400 i', '*> 10.50.1.0/24 10.1.1.2 0 400 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:52:11 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 400 i
*> 10.30.1.0/24 10.1.1.2 0 400 i
*> 10.50.0.0/24 10.1.1.2 0 400 i
*> 10.50.1.0/24 10.1.1.2 0 400 i
Displayed 6 routes and 6 total paths
19:52:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 400 i', '*> 10.30.1.0/24 10.1.1.2 0 400 i', '*> 10.50.0.0/24 10.1.1.2 0 400 i', '*> 10.50.1.0/24 10.1.1.2 0 400 i', 'Displayed 6 routes and 6 total paths']
19:52:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 400 i
*> 10.30.1.0/24 10.1.1.2 0 400 i
*> 10.50.0.0/24 10.1.1.2 0 400 i
*> 10.50.1.0/24 10.1.1.2 0 400 i
Displayed 6 routes and 6 total paths
19:52:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-1
19:52:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:52:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:52:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:06
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:35:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:34:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:34:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:34:49
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.50.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.50.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:49
19:52:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.50.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:52:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:06
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:35:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:34:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:34:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:34:49
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.50.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
B>* 10.50.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:49
19:52:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-2
19:52:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
not expect values: []
19:52:22 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 7 6 0 0 00:01:52 2 6 N/A
10.1.3.3 4 400 12 9 6 0 0 00:00:20 4 2 FRRouting/10.3
Total number of neighbors 2
19:52:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.3 4 400', 'Total number of neighbors 2']
19:52:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 7 6 0 0 00:01:52 2 6 N/A
10.1.3.3 4 400 12 9 6 0 0 00:00:20 4 2 FRRouting/10.3
Total number of neighbors 2
19:52:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-2
19:52:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:52:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:52:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
19:52:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:52:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-2
19:52:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:52:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']
not expect values: []
19:52:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:59
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:34:59
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:34:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:34:48
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:34:48
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:04
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:02
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:02
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:34:42
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:34:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:34:36
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:29
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:29
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:29
* via 10.1.3.3, Ethernet12, weight 1, 00:00:29
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:29
* via 10.1.3.3, Ethernet12, weight 1, 00:00:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:08
19:52:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.3, Ethernet12']
19:52:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:59
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:34:59
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:34:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:34:48
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:34:48
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:04
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:02
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:02
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:34:42
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:34:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:34:36
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:29
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:29
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:29
* via 10.1.3.3, Ethernet12, weight 1, 00:00:29
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:29
* via 10.1.3.3, Ethernet12, weight 1, 00:00:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:08
19:52:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-3
19:52:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.3 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.3 4 400', 'Total number of neighbors 1']
not expect values: []
19:52:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.3 4 400 6 5 6 0 0 00:01:53 4 2 FRRouting/10.3
Total number of neighbors 1
19:52:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.3 4 400', 'Total number of neighbors 1']
19:52:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.3 4 400 6 5 6 0 0 00:01:53 4 2 FRRouting/10.3
Total number of neighbors 1
19:52:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-3
19:52:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:52:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:52:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Displayed 6 routes and 6 total paths']
19:52:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Displayed 6 routes and 6 total paths
19:52:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-3
19:52:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.1, Ethernet8', '* via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:52:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.1, Ethernet8', '* via 10.1.3.3, Ethernet8']
not expect values: []
19:52:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:13
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:34:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:34:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:34:42
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:13
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:46
* via 10.1.3.1, Ethernet8, weight 1, 00:00:46
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:46
* via 10.1.3.1, Ethernet8, weight 1, 00:00:46
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:34:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:34:30
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:46
* via 10.1.3.3, Ethernet8, weight 1, 00:00:46
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:46
* via 10.1.3.3, Ethernet8, weight 1, 00:00:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:29
19:52:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive)', 'B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive)', '* via 10.1.3.1, Ethernet8', '* via 10.1.3.3, Ethernet8']
19:52:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:13
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:34:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:34:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:34:42
S>* 10.1.4.0/24 [1/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:13
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:46
* via 10.1.3.1, Ethernet8, weight 1, 00:00:46
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:00:46
* via 10.1.3.1, Ethernet8, weight 1, 00:00:46
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:34:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:34:30
B> 10.50.0.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:46
* via 10.1.3.3, Ethernet8, weight 1, 00:00:46
B> 10.50.1.0/24 [200/0] via 10.1.4.2 (recursive), weight 1, 00:00:46
* via 10.1.3.3, Ethernet8, weight 1, 00:00:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:29
19:52:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-4
19:52:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbors 10.1.3.2 advertised-routes"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbors 10.1.3.2 advertised-routes"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 4']
not expect values: []
19:52:54 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 4
19:52:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 4']
19:52:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 4
19:52:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-4
19:52:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbors 10.1.3.1 advertised-routes"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:52:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbors 10.1.3.1 advertised-routes"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']
not expect values: []
19:53:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 6
19:53:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']
19:53:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 6
19:53:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-4
19:53:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbors 10.1.4.2 advertised-routes"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:53:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbors 10.1.4.2 advertised-routes"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']
not expect values: []
19:53:05 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 6
19:53:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*>i 10.50.0.0/24 10.1.4.2 0 100 0 i', '*>i 10.50.1.0/24 10.1.4.2 0 100 0 i', 'Total number of prefixes 6']
19:53:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*>i 10.50.0.0/24 10.1.4.2 0 100 0 i
*>i 10.50.1.0/24 10.1.4.2 0 100 0 i
Total number of prefixes 6
19:53:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-5
19:53:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.4.1 4 400', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:53:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.4.1 4 400', 'Total number of neighbors 1']
not expect values: []
19:53:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 400 13 10 6 0 0 00:01:09 4 2 FRRouting/10.3
Total number of neighbors 1
19:53:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.4.1 4 400', 'Total number of neighbors 1']
19:53:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.50.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.4.1 4 400 13 10 6 0 0 00:01:09 4 2 FRRouting/10.3
Total number of neighbors 1
19:53:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-5
19:53:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:53:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:53:16 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 6 total paths
19:53:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.50.0.0/24 0.0.0.0 0 32768 i', '*> 10.50.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']
19:53:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.50.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.1.1 0 100 0 100 i
*>i 10.10.2.0/24 10.1.1.1 0 100 0 100 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.50.0.0/24 0.0.0.0 0 32768 i
*> 10.50.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 6 total paths
19:53:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.04-VERIFICATION2
node name: R-5
19:53:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.3.2 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.3.2 (recursive)', '* via 10.1.4.1, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:53:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.3.2 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.3.2 (recursive)', '* via 10.1.4.1, Ethernet0']
not expect values: []
19:53:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.4.1, Ethernet0, weight 1, 00:02:29
S>* 10.1.3.0/24 [1/0] via 10.1.4.1, Ethernet0, weight 1, 00:02:29
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:34:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:34:34
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.30.0.0/24 [200/0] via 10.1.3.2 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.30.1.0/24 [200/0] via 10.1.3.2 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:34:28
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:34:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:56
19:53:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive)', 'B> 10.30.0.0/24 [200/0] via 10.1.3.2 (recursive)', 'B> 10.30.1.0/24 [200/0] via 10.1.3.2 (recursive)', '* via 10.1.4.1, Ethernet0']
19:53:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
S>* 10.1.1.0/24 [1/0] via 10.1.4.1, Ethernet0, weight 1, 00:02:29
S>* 10.1.3.0/24 [1/0] via 10.1.4.1, Ethernet0, weight 1, 00:02:29
C>* 10.1.4.0/24 is directly connected, Ethernet0, weight 1, 00:34:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet0, weight 1, 00:34:34
B> 10.10.1.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.10.2.0/24 [200/0] via 10.1.1.1 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.30.0.0/24 [200/0] via 10.1.3.2 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
B> 10.30.1.0/24 [200/0] via 10.1.3.2 (recursive), weight 1, 00:01:18
* via 10.1.4.1, Ethernet0, weight 1, 00:01:18
C>* 10.50.0.0/24 is directly connected, Ethernet8, weight 1, 00:34:28
C>* 10.50.1.0/24 is directly connected, Ethernet12, weight 1, 00:34:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:56
19:53:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.05-DELETE
node name: R-1
19:53:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:53:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:53:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:53:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.05-DELETE
node name: R-2
19:53:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:53:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'router bgp 400']
19:53:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:53:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.05-DELETE
node name: R-3
19:53:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no ip route 10.1.1.0/24 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.4.0/24 10.1.3.3', 'ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:53:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.4.0/24 10.1.3.3" \\\n-c "no ip route 10.1.1.0/24 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.4.0/24 10.1.3.3', 'ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400']
19:53:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:53:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.05-DELETE
node name: R-4
19:53:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/24 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:53:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/24 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.1.0/24 10.1.3.1', 'router bgp 400']
19:53:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:53:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 13.05-DELETE
node name: R-5
19:53:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/24 10.1.4.1" \\\n-c "no ip route 10.1.3.0/24 10.1.4.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip route 10.1.1.0/24 10.1.4.1', 'ip route 10.1.3.0/24 10.1.4.1', 'router bgp 400']]
sub scenario retries: 5
sub scenario delay: 1
19:53:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.1.0/24 10.1.4.1" \\\n-c "no ip route 10.1.3.0/24 10.1.4.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip route 10.1.1.0/24 10.1.4.1', 'ip route 10.1.3.0/24 10.1.4.1', 'router bgp 400']
19:53:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:53:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-5
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:49 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:53:49 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Local AS Function
19:53:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.01-SET1
node name: R-1
19:53:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:53:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']
not expect values: []
19:53:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'network 10.10.2.0/24', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']
19:53:54 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:53:56 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.74 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.37 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.76 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.372/1.621/1.755/0.176 ms
19:53:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:53:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.01-SET1
node name: R-2
19:53:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:53:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
19:54:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:54:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100']
19:54:02 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:54:04 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.847 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=2.69 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.926 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.847/1.486/2.687/0.849 ms
19:54:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:54:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.01-SET1
node name: R-3
19:54:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 100']
not expect values: []
19:54:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:54:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.1.9 remote-as 100']
19:54:10 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
19:54:12 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.872 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.826 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.798 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.798/0.832/0.872/0.030 ms
19:54:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:54:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-1
19:54:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
19:54:18 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 6 0 0 00:00:15 2 6 N/A
10.1.1.10 4 300 6 6 6 0 0 00:00:07 2 6 N/A
Total number of neighbors 2
19:54:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
19:54:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 6 0 0 00:00:15 2 6 N/A
10.1.1.10 4 300 6 6 6 0 0 00:00:07 2 6 N/A
Total number of neighbors 2
19:54:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-1
19:54:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.10 0 0 300 i', '*> 10.30.1.0/24 10.1.1.10 0 0 300 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.10 0 0 300 i', '*> 10.30.1.0/24 10.1.1.10 0 0 300 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:54:23 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
*> 10.20.1.0/24 10.1.1.2 0 0 200 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
Displayed 6 routes and 6 total paths
19:54:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.10.2.0/24 0.0.0.0 0 32768 i', '*> 10.20.0.0/24 10.1.1.2 0 0 200 i', '*> 10.20.1.0/24 10.1.1.2 0 0 200 i', '*> 10.30.0.0/24 10.1.1.10 0 0 300 i', '*> 10.30.1.0/24 10.1.1.10 0 0 300 i', 'Displayed 6 routes and 6 total paths']
19:54:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
*> 10.20.1.0/24 10.1.1.2 0 0 200 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
Displayed 6 routes and 6 total paths
19:54:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-1
19:54:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:54:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: []
19:54:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:18
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:37:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:37:01
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:17
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:01
19:54:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
19:54:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:18
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:37:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:37:01
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:17
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:01
19:54:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-2
19:54:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
19:54:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 6 0 0 00:00:32 4 6 N/A
Total number of neighbors 1
19:54:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
19:54:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 6 0 0 00:00:32 4 6 N/A
Total number of neighbors 1
19:54:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-2
19:54:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.1 0 100 300 i', '*> 10.30.1.0/24 10.1.1.1 0 100 300 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.1 0 100 300 i', '*> 10.30.1.0/24 10.1.1.1 0 100 300 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:54:40 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.1 0 100 300 i
*> 10.30.1.0/24 10.1.1.1 0 100 300 i
Displayed 6 routes and 6 total paths
19:54:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.10.2.0/24 10.1.1.1 0 0 100 i', '*> 10.20.0.0/24 0.0.0.0 0 32768 i', '*> 10.20.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.1 0 100 300 i', '*> 10.30.1.0/24 10.1.1.1 0 100 300 i', 'Displayed 6 routes and 6 total paths']
19:54:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.1 0 100 300 i
*> 10.30.1.0/24 10.1.1.1 0 100 300 i
Displayed 6 routes and 6 total paths
19:54:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-2
19:54:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:54:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:54:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:11
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:37:05
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:37:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:37:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:36:54
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:36:54
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:36:48
B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:33
B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:20
19:54:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:54:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:11
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:37:05
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:37:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:37:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:36:54
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:36:54
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:36:48
B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:33
B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:20
19:54:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-3
19:54:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 100', 'Total number of neighbors 1']
not expect values: []
19:54:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 6 6 6 0 0 00:00:39 4 6 N/A
Total number of neighbors 1
19:54:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', 'Total number of neighbors 1']
19:54:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 6 6 6 0 0 00:00:39 4 6 N/A
Total number of neighbors 1
19:54:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-3
19:54:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', '*> 10.20.0.0/24 10.1.1.9 0 100 200 i', '*> 10.20.1.0/24 10.1.1.9 0 100 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:54:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', '*> 10.20.0.0/24 10.1.1.9 0 100 200 i', '*> 10.20.1.0/24 10.1.1.9 0 100 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']
not expect values: []
19:54:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
*> 10.20.0.0/24 10.1.1.9 0 100 200 i
*> 10.20.1.0/24 10.1.1.9 0 100 200 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 6 total paths
19:54:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.9 0 0 100 i', '*> 10.10.2.0/24 10.1.1.9 0 0 100 i', '*> 10.20.0.0/24 10.1.1.9 0 100 200 i', '*> 10.20.1.0/24 10.1.1.9 0 100 200 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', 'Displayed 6 routes and 6 total paths']
19:54:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
*> 10.20.0.0/24 10.1.1.9 0 100 200 i
*> 10.20.1.0/24 10.1.1.9 0 100 200 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 6 total paths
19:54:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.02-VERIFICATION1
node name: R-3
19:54:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:54:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0']
not expect values: []
19:55:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:36:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:36:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:36:54
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:36:48
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:41
19:55:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0']
19:55:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:36:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:36:59
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:36:54
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:00:49
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:36:48
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:41
19:55:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.03-SET2
node name: R-2
19:55:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 local-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.1.1 local-as 200', 'neighbor 10.1.3.2 remote-as 300']]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:55:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "network 10.20.1.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 local-as 200" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.1.1 local-as 200', 'neighbor 10.1.3.2 remote-as 300']
not expect values: ['router bgp 200']
19:55:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 local-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:55:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'network 10.20.1.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.1.1 local-as 200', 'neighbor 10.1.3.2 remote-as 300']
19:55:07 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:55:09 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.671 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.01 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2022ms
rtt min/avg/max/mdev = 0.671/0.901/1.024/0.162 ms
19:55:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 local-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
network 10.20.0.0/24
network 10.20.1.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:55:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.03-SET2
node name: R-3
19:55:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.3.1 remote-as 300" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.3.1 remote-as 300']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:55:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.3.1 remote-as 300" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.3.1 remote-as 300']
not expect values: []
19:55:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 300
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:55:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.3.1 remote-as 300']
19:55:14 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
19:55:17 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.917 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.939 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.950 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.917/0.935/0.950/0.013 ms
19:55:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 300
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:55:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-1
19:55:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:55:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
19:55:22 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 12
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 12 0 0 00:00:15 4 6 N/A
10.1.1.10 4 300 9 10 12 0 0 00:01:12 4 6 N/A
Total number of neighbors 2
19:55:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
19:55:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 12
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 12 0 0 00:00:15 4 6 N/A
10.1.1.10 4 300 9 10 12 0 0 00:01:12 4 6 N/A
Total number of neighbors 2
19:55:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-1
19:55:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['0 200 300 i', 'Displayed 6 routes and 10 total paths']]
sub scenario not expect values: [['0 200 i']]
sub scenario retries: 5
sub scenario delay: 1
19:55:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['0 200 300 i', 'Displayed 6 routes and 10 total paths']
not expect values: ['0 200 i']
19:55:28 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 12, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.10 0 300 i
* 10.1.1.2 0 0 200 300 i
*> 10.20.1.0/24 10.1.1.10 0 300 i
* 10.1.1.2 0 0 200 300 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
Displayed 6 routes and 10 total paths
19:55:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['0 200 300 i', 'Displayed 6 routes and 10 total paths']
19:55:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 12, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.10.2.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.10 0 300 i
* 10.1.1.2 0 0 200 300 i
*> 10.20.1.0/24 10.1.1.10 0 300 i
* 10.1.1.2 0 0 200 300 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
Displayed 6 routes and 10 total paths
19:55:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-1
19:55:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:55:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:55:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:38:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:38:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:38:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:38:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:38:05
B>* 10.20.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:16
B>* 10.20.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:16
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:05
19:55:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
19:55:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:38:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:38:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:38:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:38:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:38:05
B>* 10.20.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:16
B>* 10.20.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:16
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:05
19:55:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-2
19:55:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:55:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', 'Total number of neighbors 2']
not expect values: []
19:55:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 7 6 6 0 0 00:00:31 2 6 N/A
10.1.3.2 4 300 5 6 6 0 0 00:00:23 4 4 FRRouting/10.3
Total number of neighbors 2
19:55:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', 'Total number of neighbors 2']
19:55:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 6
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 7 6 6 0 0 00:00:31 2 6 N/A
10.1.3.2 4 300 5 6 6 0 0 00:00:23 4 4 FRRouting/10.3
Total number of neighbors 2
19:55:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-2
19:55:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['100 0 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']]
sub scenario not expect values: [['0 100 300 i']]
sub scenario retries: 5
sub scenario delay: 1
19:55:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['100 0 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']
not expect values: ['0 100 300 i']
19:55:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 200 100 i
i 10.1.1.9 0 100 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 200 100 i
i 10.1.1.9 0 100 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
Displayed 6 routes and 8 total paths
19:55:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['100 0 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']
19:55:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 200 100 i
i 10.1.1.9 0 100 0 100 i
*> 10.10.2.0/24 10.1.1.1 0 0 200 100 i
i 10.1.1.9 0 100 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
*> 10.20.1.0/24 0.0.0.0 0 32768 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
Displayed 6 routes and 8 total paths
19:55:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-2
19:55:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:55:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:55:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:16
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:38:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:38:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:38:05
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:38:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:37:59
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:37:53
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:33
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:25
19:55:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12']
19:55:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:16
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:38:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:38:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:38:05
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:38:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
B>* 10.10.2.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:41
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:37:59
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:37:53
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:33
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:25
19:55:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-3
19:55:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', '10.1.3.1 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:55:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.9 4 100', '10.1.3.1 4 300', 'Total number of neighbors 2']
not expect values: []
19:55:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 10
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 10 9 10 0 0 00:01:44 2 6 N/A
10.1.3.1 4 300 5 5 10 0 0 00:00:40 4 4 FRRouting/10.3
Total number of neighbors 2
19:55:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', '10.1.3.1 4 300', 'Total number of neighbors 2']
19:55:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 10
RIB entries 11, using 1408 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 10 9 10 0 0 00:01:44 2 6 N/A
10.1.3.1 4 300 5 5 10 0 0 00:00:40 4 4 FRRouting/10.3
Total number of neighbors 2
19:55:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-3
19:55:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['100 0 200 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']]
sub scenario not expect values: [['0 100 200 i']]
sub scenario retries: 5
sub scenario delay: 1
19:55:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['100 0 200 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']
not expect values: ['0 100 200 i']
19:56:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 10, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
i 10.1.1.1 0 100 0 200 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
i 10.1.1.1 0 100 0 200 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
*>i 10.20.1.0/24 10.1.3.1 0 100 0 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 8 total paths
19:56:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['100 0 200 100 i', '100 0 i', 'Displayed 6 routes and 8 total paths']
19:56:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 10, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.9 0 0 100 i
i 10.1.1.1 0 100 0 200 100 i
*> 10.10.2.0/24 10.1.1.9 0 0 100 i
i 10.1.1.1 0 100 0 200 100 i
*>i 10.20.0.0/24 10.1.3.1 0 100 0 i
*>i 10.20.1.0/24 10.1.3.1 0 100 0 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 6 routes and 8 total paths
19:56:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.04-VERIFICATION2
node name: R-3
19:56:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [200/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0']]
sub scenario retries: 10
sub scenario delay: 10
19:56:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [200/0] via 10.1.3.1, Ethernet8']
not expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.9, Ethernet0']
19:56:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:38:04
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:38:04
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:59
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:54
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:54
B>* 10.20.0.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:49
B>* 10.20.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:49
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:53
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:46
19:56:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0', 'B>* 10.20.0.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.20.1.0/24 [200/0] via 10.1.3.1, Ethernet8']
19:56:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:38:04
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:38:04
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:59
B>* 10.10.1.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:54
B>* 10.10.2.0/24 [20/0] via 10.1.1.9, Ethernet0, weight 1, 00:01:54
B>* 10.20.0.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:49
B>* 10.20.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:49
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:53
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:43:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:43:46
19:56:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.05-DELETE
node name: R-1
19:56:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:56:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:56:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:56:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.05-DELETE
node name: R-2
19:56:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
19:56:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
19:56:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:56:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 14.05-DELETE
node name: R-3
19:56:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
19:56:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
19:56:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:56:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:56:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Authentication Function
19:56:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.01-SET1
node name: R-1
19:56:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:56:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
19:56:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
19:56:27 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:56:30 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.672 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.749 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.555 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 0.555/0.658/0.749/0.079 ms
19:56:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.01-SET1
node name: R-2
19:56:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:56:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.20.0.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
19:56:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.20.0.0/24', 'neighbor 10.1.1.1 remote-as 100']
19:56:35 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:56:38 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.19 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.13 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.21 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.133/1.178/1.209/0.032 ms
19:56:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:56:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.02-VERIFICATION1
node name: R-1
19:56:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:56:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']
not expect values: []
19:56:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:56:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']
19:56:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:56:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.02-VERIFICATION1
node name: R-1
19:56:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:56:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:56:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:43
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:39:38
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:39:38
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:26
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:26
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:21
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:21
19:56:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:56:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:43
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:39:38
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:39:38
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:26
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:26
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:21
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:21
19:56:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.02-VERIFICATION1
node name: R-2
19:56:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1', '*> 10.20.0.0/24 0.0.0.0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:56:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1', '*> 10.20.0.0/24 0.0.0.0']
not expect values: []
19:56:54 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:56:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1', '*> 10.20.0.0/24 0.0.0.0']
19:56:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:56:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.02-VERIFICATION1
node name: R-2
19:56:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:56:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:56:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:26
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:39:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:39:09
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:39:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:35
19:56:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:56:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:26
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:39:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:39:09
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:39:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:35
19:56:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.03-SET2
node name: R-1
19:56:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 password n2os" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.2 password n2os']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:56:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 password n2os" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.2 password n2os']
not expect values: []
19:57:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 password n2os
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:57:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.2 password n2os']
19:57:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 password n2os
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:57:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.04-VERIFICATION2
node name: R-1
19:57:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0']]
sub scenario not expect values: [['*> 10.20.0.0/24 10.1.1.2']]
sub scenario retries: 5
sub scenario delay: 1
19:57:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0']
not expect values: ['*> 10.20.0.0/24 10.1.1.2']
19:57:10 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
Displayed 1 routes and 1 total paths
19:57:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0']
19:57:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
Displayed 1 routes and 1 total paths
19:57:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.04-VERIFICATION2
node name: R-1
19:57:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:57:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: []
not expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:57:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:05
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:40:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:48
19:57:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:57:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:05
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:40:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:48
19:57:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.04-VERIFICATION2
node name: R-2
19:57:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.20.0.0/24 0.0.0.0']]
sub scenario not expect values: [['*> 10.10.1.0/24 10.1.1.1']]
sub scenario retries: 5
sub scenario delay: 1
19:57:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.20.0.0/24 0.0.0.0']
not expect values: ['*> 10.10.1.0/24 10.1.1.1']
19:57:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 1 routes and 1 total paths
19:57:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.20.0.0/24 0.0.0.0']
19:57:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 1 routes and 1 total paths
19:57:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.04-VERIFICATION2
node name: R-2
19:57:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
19:57:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: []
not expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:57:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:53
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:53
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:39:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:39:36
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:39:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:02
19:57:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:57:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:53
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:53
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:39:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:39:36
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:39:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:02
19:57:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.05-SET3
node name: R-2
19:57:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 password n2os" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.1 password n2os']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:57:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 password n2os" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.1 password n2os']
not expect values: []
19:57:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 password n2os
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:57:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.1 password n2os']
19:57:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 password n2os
!
address-family ipv4 unicast
network 10.20.0.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:57:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.06-VERIFICATION3
node name: R-1
19:57:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:57:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']
not expect values: []
19:57:38 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:57:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0', '*> 10.20.0.0/24 10.1.1.2']
19:57:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.20.0.0/24 10.1.1.2 0 0 200 i
Displayed 2 routes and 2 total paths
19:57:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.06-VERIFICATION3
node name: R-1
19:57:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:57:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
19:57:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:32
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:40:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:15
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:15
19:57:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
19:57:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:32
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:40:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:15
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:15
19:57:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.06-VERIFICATION3
node name: R-2
19:57:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.20.0.0/24 0.0.0.0', '*> 10.10.1.0/24 10.1.1.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:57:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.20.0.0/24 0.0.0.0', '*> 10.10.1.0/24 10.1.1.1']
not expect values: []
19:57:52 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:57:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.20.0.0/24 0.0.0.0', '*> 10.10.1.0/24 10.1.1.1']
19:57:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.20.0.0/24 0.0.0.0 0 32768 i
Displayed 2 routes and 2 total paths
19:57:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.06-VERIFICATION3
node name: R-2
19:57:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
19:57:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
19:57:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:24
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:40:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:40:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:40:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:40:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:40:07
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:40:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:33
19:57:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4']
19:57:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:24
K * 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:40:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:40:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:40:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet12, weight 1, 00:40:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:40:07
K 10.20.0.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:40:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:33
19:57:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.07-DELETE
node name: R-1
19:57:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:57:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:58:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:58:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 15.07-DELETE
node name: R-2
19:58:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:58:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:58:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:58:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:58:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Timer Function
19:58:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.01-SET1
node name: R-1
19:58:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']
not expect values: []
19:58:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 300']
19:58:14 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:58:16 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.646 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.839 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.692 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.646/0.725/0.839/0.082 ms
19:58:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.01-SET1
node name: R-2
19:58:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
19:58:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
19:58:21 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:58:24 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.866 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.684 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.893 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2010ms
rtt min/avg/max/mdev = 0.684/0.814/0.893/0.092 ms
19:58:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.01-SET1
node name: R-3
19:58:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
not expect values: []
19:58:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
19:58:29 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
19:58:32 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.861 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.798 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=1.01 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.798/0.891/1.014/0.090 ms
19:58:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.02-VERIFICATION1
node name: R-1
19:58:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 180 seconds, keepalive interval is 60 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}
expect values: ['Hold time is 180 seconds, keepalive interval is 60 seconds']
not expect values: []
19:58:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:15
Last read 00:00:14, Last write 00:00:14
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 180 seconds, keepalive interval is 60 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 48644
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:58:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 180 seconds, keepalive interval is 60 seconds']
19:58:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:15
Last read 00:00:14, Last write 00:00:14
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 180 seconds, keepalive interval is 60 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 48644
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:58:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.02-VERIFICATION1
node name: R-1
19:58:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 180 seconds, keepalive interval is 60 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}
expect values: ['Hold time is 180 seconds, keepalive interval is 60 seconds']
not expect values: []
19:58:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:12
Last read 00:00:11, Last write 00:00:12
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 180 seconds, keepalive interval is 60 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 36342
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 27
19:58:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 180 seconds, keepalive interval is 60 seconds']
19:58:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:12
Last read 00:00:11, Last write 00:00:12
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 180 seconds, keepalive interval is 60 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 36342
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 27
19:58:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.03-SET2
node name: R-1
19:58:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "timers bgp 70 210" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['timers bgp 70 210']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "timers bgp 70 210" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['timers bgp 70 210']
not expect values: []
19:58:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
timers bgp 70 210
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['timers bgp 70 210']
19:58:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
timers bgp 70 210
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.03-SET2
node name: R-3
19:58:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "timers bgp 70 210" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp *" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['timers bgp 70 210']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "timers bgp 70 210" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp *" \\\n-c "end"\n'}
expect values: ['timers bgp 70 210']
not expect values: []
19:58:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
timers bgp 70 210
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['timers bgp 70 210']
19:58:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
timers bgp 70 210
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:58:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.04-VERIFICATION2
node name: R-1
19:58:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 180 seconds, keepalive interval is 60 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}
expect values: ['Hold time is 180 seconds, keepalive interval is 60 seconds']
not expect values: []
19:58:59 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:36
Last read 00:00:35, Last write 00:00:35
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 48644
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:58:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 180 seconds, keepalive interval is 60 seconds']
19:58:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:36
Last read 00:00:35, Last write 00:00:35
Hold time is 180 seconds, keepalive interval is 60 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 1 1
Keepalives: 1 1
Route Refresh: 0 0
Capability: 0 0
Total: 3 3
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 1; dropped 0
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 48644
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:58:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.04-VERIFICATION2
node name: R-1
19:58:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 210 seconds, keepalive interval is 70 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:58:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}
expect values: ['Hold time is 210 seconds, keepalive interval is 70 seconds']
not expect values: []
19:59:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:09
Last read 00:00:08, Last write 00:00:09
Hold time is 210 seconds, keepalive interval is 70 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 1 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 8 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 41704
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 28
19:59:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 210 seconds, keepalive interval is 70 seconds']
19:59:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:09
Last read 00:00:08, Last write 00:00:09
Hold time is 210 seconds, keepalive interval is 70 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 1 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 8 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 41704
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 28
19:59:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.05-SET3
node name: R-1
19:59:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 timers 80 240" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.2 timers 80 240']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 timers 80 240" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.2 timers 80 240']
not expect values: []
19:59:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
timers bgp 70 210
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 timers 80 240
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.2 timers 80 240']
19:59:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
timers bgp 70 210
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 timers 80 240
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.05-SET3
node name: R-2
19:59:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 timers 80 240" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp *" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.1 timers 80 240']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 timers 80 240" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp *" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.1 timers 80 240']
not expect values: []
19:59:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 timers 80 240
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.1 timers 80 240']
19:59:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.1.1 timers 80 240
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.06-VERIFICATION3
node name: R-1
19:59:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 240 seconds, keepalive interval is 80 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.2"'}
expect values: ['Hold time is 240 seconds, keepalive interval is 80 seconds']
not expect values: []
19:59:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:04
Last read 00:00:02, Last write 00:00:04
Hold time is 240 seconds, keepalive interval is 80 seconds
Configured hold time is 240 seconds, keepalive interval is 80 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 0 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 7 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 47572
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:59:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 240 seconds, keepalive interval is 80 seconds']
19:59:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.2, remote AS 200, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-2
BGP version 4, remote router ID 10.20.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:04
Last read 00:00:02, Last write 00:00:04
Hold time is 240 seconds, keepalive interval is 80 seconds
Configured hold time is 240 seconds, keepalive interval is 80 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-2,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 0 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 7 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.1, Local port: 179
Foreign host: 10.1.1.2, Foreign port: 47572
Nexthop: 10.1.1.1
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 24
19:59:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.06-VERIFICATION3
node name: R-1
19:59:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}]
sub scenario expect mode: and
sub scenario expect values: [['Hold time is 210 seconds, keepalive interval is 70 seconds']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp neighbor 10.1.1.10"'}
expect values: ['Hold time is 210 seconds, keepalive interval is 70 seconds']
not expect values: []
19:59:26 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:31
Last read 00:00:30, Last write 00:00:31
Hold time is 210 seconds, keepalive interval is 70 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 1 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 8 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 41704
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 28
19:59:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Hold time is 210 seconds, keepalive interval is 70 seconds']
19:59:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP neighbor is 10.1.1.10, remote AS 300, local AS 100, external link
Local Role: undefined
Remote Role: undefined
Hostname: R-3
BGP version 4, remote router ID 10.30.1.1, local router ID 10.10.1.1
BGP state = Established, up for 00:00:31
Last read 00:00:30, Last write 00:00:31
Hold time is 210 seconds, keepalive interval is 70 seconds
Configured hold time is 210 seconds, keepalive interval is 70 seconds
Configured tcp-mss is 0, synced tcp-mss is 9048
Configured conditional advertisements interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Extended Message: advertised and received
AddPath:
IPv4 Unicast: RX advertised and received
Paths-Limit:
IPv4 Unicast: advertised (0) and received (0)
Long-lived Graceful Restart: advertised and received
Address families by peer:
Route refresh: advertised and received
Enhanced Route Refresh: advertised and received
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: R-1,domain name: n/a) received (name: R-3,domain name: n/a)
Version Capability: not advertised not received
Graceful Restart Capability: advertised and received
Remote Restart timer is 120 seconds
Address families by peer:
none
Graceful restart information:
End-of-RIB send: IPv4 Unicast
End-of-RIB received: IPv4 Unicast
Local GR Mode: Helper*
Remote GR Mode: Helper
R bit: True
N bit: True
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 120
Configured LLGR Stale Path Time(sec): 0
IPv4 Unicast:
F bit: False
End-of-RIB sent: Yes
End-of-RIB sent after update: Yes
End-of-RIB received: Yes
Timers:
Configured Stale Path Time(sec): 360
LLGR Stale Path Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 3 2
Notifications: 1 2
Updates: 2 2
Keepalives: 2 2
Route Refresh: 0 0
Capability: 0 0
Total: 8 8
Prefix statistics:
Inbound filtered: 0
AS-PATH loop: 0
Originator loop: 0
Cluster loop: 0
Invalid next-hop: 0
Withdrawn: 0
Attributes discarded: 0
Minimum time between advertisement runs is 0 seconds
For address family: IPv4 Unicast
Update group 22, subgroup 29
Packet Queue length 0
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *permit-all
Route map for outgoing advertisements is *permit-all
0 accepted prefixes
Connections established 2; dropped 1
Last reset never
External BGP neighbor may be up to 1 hops away.
Local host: 10.1.1.9, Local port: 179
Foreign host: 10.1.1.10, Foreign port: 41704
Nexthop: 10.1.1.9
Nexthop global: fe80::203f:2cff:fe8b:31ee
Nexthop local: fe80::203f:2cff:fe8b:31ee
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 30
Estimated round trip time: 0 ms
Read thread: on Write thread: on FD used: 28
19:59:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.07-DELETE
node name: R-1
19:59:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
19:59:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
19:59:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:59:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.07-DELETE
node name: R-2
19:59:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
19:59:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
19:59:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:59:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 16.07-DELETE
node name: R-3
19:59:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
19:59:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
19:59:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
19:59:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:43 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
19:59:43 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Multi Path Function
19:59:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.01-SET1
node name: R-1
19:59:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
not expect values: []
19:59:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 200', 'neighbor 10.1.1.10 remote-as 200']
19:59:48 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
19:59:50 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.03 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.38 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.861 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.861/1.091/1.384/0.217 ms
19:59:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.01-SET1
node name: R-2
19:59:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200']
not expect values: []
19:59:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200']
19:59:56 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
19:59:58 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.733 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.07 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.733/0.939/1.065/0.146 ms
19:59:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
19:59:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.01-SET1
node name: R-3
19:59:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
19:59:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.1.3.0/24" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:00:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.30.1.1', 'network 10.1.3.0/24', 'neighbor 10.1.1.9 remote-as 100', 'neighbor 10.1.3.1 remote-as 200']
20:00:04 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
20:00:06 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.675 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.667 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.837 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2041ms
rtt min/avg/max/mdev = 0.667/0.726/0.837/0.078 ms
20:00:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.02-VERIFICATION1
node name: R-1
20:00:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.0/24 10.1.1.2', '*= 10.1.1.10']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:00:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.0/24 10.1.1.2', '*= 10.1.1.10']
not expect values: []
20:00:11 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*= 10.1.1.10 0 0 200 i
Displayed 1 routes and 2 total paths
20:00:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.0/24 10.1.1.2', '*= 10.1.1.10']
20:00:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*= 10.1.1.10 0 0 200 i
Displayed 1 routes and 2 total paths
20:00:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.02-VERIFICATION1
node name: R-1
20:00:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:00:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:00:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:06
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:00
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
* via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:49
20:00:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:00:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:06
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:00
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
* via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:49
20:00:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.03-SET2
node name: R-1
20:00:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "maximum-paths 2" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['maximum-paths 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:00:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "maximum-paths 2" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['maximum-paths 2']
not expect values: []
20:00:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
maximum-paths 2
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['maximum-paths 2']
20:00:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
maximum-paths 2
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.04-VERIFICATION2
node name: R-1
20:00:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*= 10.1.1.10 0 0 200 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:00:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*= 10.1.1.10 0 0 200 i']
not expect values: []
20:00:28 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*= 10.1.1.10 0 0 200 i
Displayed 1 routes and 2 total paths
20:00:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.0/24 10.1.1.2 0 0 200 i', '*= 10.1.1.10 0 0 200 i']
20:00:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
*= 10.1.1.10 0 0 200 i
Displayed 1 routes and 2 total paths
20:00:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.04-VERIFICATION2
node name: R-1
20:00:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:00:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'via 10.1.1.10, Ethernet8']
not expect values: []
20:00:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:16
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
* via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:05
20:00:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'via 10.1.1.10, Ethernet8']
20:00:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:22
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:16
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
* via 10.1.1.10, Ethernet8, weight 1, 00:00:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:05
20:00:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.05-SET3
node name: R-1
20:00:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 shutdown" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.2 shutdown']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:00:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 shutdown" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.2 shutdown']
not expect values: []
20:00:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 shutdown
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
maximum-paths 2
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.2 shutdown']
20:00:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.2 shutdown
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
maximum-paths 2
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.06-VERIFICATION3
node name: R-1
20:00:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.0/24 10.1.1.10 0 0 200 i']]
sub scenario not expect values: [['*= 10.1.1.2 0 0 200 i']]
sub scenario retries: 5
sub scenario delay: 1
20:00:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.0/24 10.1.1.10 0 0 200 i']
not expect values: ['*= 10.1.1.2 0 0 200 i']
20:00:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 200 i
Displayed 1 routes and 1 total paths
20:00:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.0/24 10.1.1.10 0 0 200 i']
20:00:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 200 i
Displayed 1 routes and 1 total paths
20:00:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.06-VERIFICATION3
node name: R-1
20:00:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:00:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:00:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:44
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:39
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:33
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:27
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:27
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:22
20:00:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
20:00:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:43:44
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:43:39
K 10.1.1.4/30 [0/0] is directly connected, Ethernet12, weight 1, 00:43:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:33
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:27
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:27
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:22
20:00:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.07-DELETE
node name: R-1
20:00:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 100']]
sub scenario retries: 5
sub scenario delay: 1
20:00:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 100']
20:00:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:00:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:00:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.07-DELETE
node name: R-2
20:00:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 200']]
sub scenario retries: 5
sub scenario delay: 1
20:00:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 200']
20:01:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:01:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:01:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:01:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 17.07-DELETE
node name: R-3
20:01:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['router bgp 300']]
sub scenario retries: 5
sub scenario delay: 1
20:01:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['router bgp 300']
20:01:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:01:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:01:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
PASSEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
20:01:06 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
20:01:10 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
20:01:11 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
20:01:11 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
20:01:11 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
20:01:11 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
20:01:11 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:05.575290 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh20:01:11 config_reload.config_reload L0144 INFO | reloading config_db
20:02:36 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
20:02:36 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:02:40 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
20:02:40 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
20:03:00 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:03:04 config_reload.config_reload L0144 INFO | reloading config_db
20:04:27 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
20:04:27 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:04:31 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
20:04:31 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
20:04:51 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:04:55 config_reload.config_reload L0144 INFO | reloading config_db
20:06:18 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
20:06:18 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:06:22 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
20:06:22 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
20:06:42 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:06:46 config_reload.config_reload L0144 INFO | reloading config_db
20:08:11 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
20:08:11 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:08:16 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
20:08:16 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
20:08:36 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:08:40 config_reload.config_reload L0144 INFO | reloading config_db
20:10:03 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
20:10:03 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
20:10:07 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
20:10:07 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
20:10:27 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config20:10:41 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario20:10:41 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-1
20:10:42 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-1
20:10:43 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-1
20:10:43 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-2
20:10:44 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-2
20:10:44 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-2
20:10:45 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-3
20:10:46 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-3
20:10:46 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-3
20:10:47 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-4
20:10:47 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-4
20:10:48 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-4
20:10:48 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-5
20:10:49 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-5
20:10:49 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-5
20:10:50 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
20:10:50 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
INFO:root:Can not get Allure report URL. Please check logs
======================== 1 passed in 3304.20s (0:55:04) ========================
✅ Scenario succeeded on attempt 1: test_sonic/integration_scen/scenario_bgp.yaml
Test finished for test_sonic/integration_scen/scenario_bgp.yaml.
Processing test logs. . .
[INFO] Running python script...
[['19:17:00'], ['19:17:00', '19:17:00', '19:17:00', '19:17:00', '19:17:00'], ['19:17:00', '19:17:05', '19:17:11', '19:17:17', '19:17:22', '19:17:28', '19:17:34', '19:17:39', '19:17:45', '19:17:50', '19:17:56', '19:18:02', '19:18:07', '19:18:13', '19:18:19', '19:18:25', '19:18:31', '19:18:36', '19:18:42', '19:18:47', '19:18:53'], ['19:18:59', '19:19:06', '19:19:13', '19:19:21', '19:19:28', '19:19:36', '19:19:43', '19:19:50', '19:19:58', '19:20:05', '19:20:13', '19:20:20', '19:20:28', '19:20:35', '19:20:42'], ['19:20:50'], ['19:20:50', '19:20:58', '19:21:06', '19:21:11', '19:21:16', '19:21:22', '19:21:27', '19:21:35', '19:21:43', '19:21:48', '19:21:54', '19:21:59'], ['19:22:04'], ['19:22:04', '19:22:12', '19:22:18', '19:22:26', '19:22:31', '19:22:36', '19:22:42', '19:22:47', '19:22:53', '19:22:58', '19:23:03', '19:23:11', '19:23:16'], ['19:23:22'], ['19:23:22', '19:23:29', '19:23:37', '19:23:43', '19:23:48', '19:23:54', '19:23:59', '19:24:04', '19:24:10', '19:24:15'], ['19:24:21', '19:24:26', '19:24:32', '19:24:40', '19:24:48', '19:24:53', '19:24:59', '19:25:04', '19:25:10', '19:25:15', '19:25:21', '19:25:26', '19:25:31', '19:25:39', '19:25:44', '19:25:50', '19:25:55'], ['19:26:01', '19:26:06', '19:26:11', '19:26:19', '19:26:27', '19:27:03', '19:27:09', '19:27:14', '19:27:20', '19:27:25', '19:27:30', '19:27:36', '19:27:41', '19:27:47', '19:27:54', '19:28:00', '19:28:05', '19:28:10'], ['19:28:16'], ['19:28:16', '19:28:24', '19:28:31', '19:28:39', '19:28:47', '19:28:53', '19:28:58', '19:29:03', '19:29:09', '19:29:14', '19:29:20', '19:29:25', '19:29:30', '19:29:36', '19:29:41', '19:29:47', '19:29:52', '19:29:57', '19:30:03', '19:30:08', '19:30:14', '19:30:19', '19:30:25', '19:30:30', '19:30:36'], ['19:30:41', '19:30:49', '19:30:57', '19:31:04', '19:31:12', '19:31:18', '19:31:23', '19:31:29', '19:31:34', '19:31:39', '19:31:45', '19:31:51', '19:31:56', '19:32:02', '19:32:07', '19:32:12', '19:32:18', '19:32:23', '19:32:29', '19:32:34', '19:32:39', '19:32:45', '19:32:50', '19:32:56', '19:33:01'], ['19:33:07'], ['19:33:07', '19:33:14', '19:33:22', '19:33:30', '19:33:48', '19:33:53', '19:33:59', '19:34:04', '19:34:10', '19:34:15', '19:34:20', '19:34:26', '19:34:31', '19:34:37', '19:34:42', '19:34:48', '19:34:53', '19:34:59', '19:35:04', '19:35:10', '19:35:15'], ['19:35:21'], ['19:35:21', '19:35:29', '19:35:36', '19:35:44', '19:35:50', '19:35:55', '19:36:12', '19:36:18', '19:36:23', '19:36:29', '19:36:34', '19:36:39', '19:36:45'], ['19:36:50'], ['19:36:50', '19:36:58', '19:37:06', '19:37:14', '19:37:22', '19:37:27', '19:37:32', '19:37:38', '19:37:43', '19:37:49', '19:37:54', '19:38:00', '19:38:05', '19:38:10', '19:38:16', '19:38:21', '19:38:27', '19:38:32', '19:38:38', '19:38:43', '19:38:49', '19:38:54', '19:38:59', '19:39:05', '19:39:10'], ['19:39:16'], ['19:39:16', '19:39:24', '19:39:31', '19:39:39', '19:39:45', '19:39:50', '19:39:56', '19:40:01', '19:40:06', '19:40:12', '19:40:17', '19:40:23', '19:40:28', '19:40:34', '19:40:39', '19:40:44', '19:40:50', '19:40:55', '19:41:01', '19:41:06', '19:41:12', '19:41:17'], ['19:41:23', '19:41:31', '19:41:39', '19:41:46', '19:41:52', '19:41:57', '19:42:03', '19:42:08', '19:42:14', '19:42:19', '19:42:24', '19:42:30', '19:42:35', '19:42:41', '19:42:46', '19:42:52', '19:42:57', '19:43:03', '19:43:08', '19:43:13', '19:43:21', '19:43:28', '19:43:34', '19:43:39'], ['19:43:44'], ['19:43:44', '19:43:52', '19:44:00', '19:44:08', '19:44:16', '19:44:21', '19:44:27', '19:44:32', '19:44:38', '19:44:43', '19:44:49', '19:44:54', '19:44:59', '19:45:05', '19:45:10', '19:45:16', '19:45:21', '19:45:27', '19:45:32', '19:45:37', '19:45:43'], ['19:45:48'], ['19:45:48', '19:45:56', '19:46:04', '19:46:12', '19:46:20', '19:46:25', '19:46:31', '19:46:36', '19:46:42', '19:46:47', '19:46:52', '19:46:58', '19:47:03', '19:47:09', '19:47:14', '19:47:20', '19:47:25', '19:47:30', '19:47:36', '19:47:41'], ['19:47:47'], ['19:47:47', '19:47:55', '19:48:03', '19:48:11', '19:48:19', '19:48:26', '19:48:32', '19:48:37', '19:48:43', '19:48:48', '19:48:53', '19:48:59', '19:49:04', '19:49:10', '19:49:15', '19:49:21', '19:49:26', '19:49:32', '19:49:37', '19:49:42', '19:49:48', '19:49:53', '19:49:59', '19:50:04', '19:50:10'], ['19:50:15'], ['19:50:15', '19:50:23', '19:50:31', '19:50:39', '19:50:46', '19:50:55', '19:51:00', '19:51:05', '19:51:11', '19:51:16', '19:51:22', '19:51:27', '19:51:33', '19:51:38', '19:51:44', '19:51:49', '19:51:54', '19:52:00', '19:52:05', '19:52:11', '19:52:16', '19:52:22', '19:52:27', '19:52:32', '19:52:38', '19:52:43', '19:52:49', '19:52:54', '19:53:00', '19:53:05', '19:53:11', '19:53:16', '19:53:21', '19:53:27', '19:53:32', '19:53:38', '19:53:43'], ['19:53:49'], ['19:53:49', '19:53:56', '19:54:04', '19:54:12', '19:54:18', '19:54:23', '19:54:29', '19:54:34', '19:54:40', '19:54:45', '19:54:50', '19:54:56', '19:55:01', '19:55:09', '19:55:17', '19:55:22', '19:55:28', '19:55:33', '19:55:38', '19:55:44', '19:55:49', '19:55:55', '19:56:00', '19:56:06', '19:56:11', '19:56:17'], ['19:56:22'], ['19:56:22', '19:56:30', '19:56:38', '19:56:43', '19:56:48', '19:56:54', '19:56:59', '19:57:05', '19:57:10', '19:57:16', '19:57:21', '19:57:27', '19:57:32', '19:57:38', '19:57:46', '19:57:52', '19:57:57', '19:58:03'], ['19:58:08'], ['19:58:08', '19:58:16', '19:58:24', '19:58:32', '19:58:37', '19:58:43', '19:58:48', '19:58:53', '19:58:59', '19:59:04', '19:59:10', '19:59:15', '19:59:21', '19:59:26', '19:59:32', '19:59:37'], ['19:59:43'], ['19:59:43', '19:59:50', '19:59:58', '20:00:06', '20:00:11', '20:00:17', '20:00:22', '20:00:28', '20:00:33', '20:00:39', '20:00:44', '20:00:49', '20:00:55', '20:01:00']]
scenario_bgp
val:print topology img
val:session check R-1
val:session Check R-2
val:session Check R-3
val:session Check R-4
val:session Check R-5
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Assign IPv4 on R-5
val:Assign IPv4 on R-5
val:Assign IPv4 on R-5
val:RIP ISIS OSPF Daemon Running R-1
val:RIP ISIS OSPF Daemon Running R-1
val:RIP ISIS OSPF Daemon Running R-1
val:RIP ISIS OSPF Daemon Running R-2
val:RIP ISIS OSPF Daemon Running R-2
val:RIP ISIS OSPF Daemon Running R-2
val:RIP ISIS OSPF Daemon Running R-3
val:RIP ISIS OSPF Daemon Running R-3
val:RIP ISIS OSPF Daemon Running R-3
val:RIP ISIS OSPF Daemon Running R-4
val:RIP ISIS OSPF Daemon Running R-4
val:RIP ISIS OSPF Daemon Running R-4
val:RIP ISIS OSPF Daemon Running R-5
val:RIP ISIS OSPF Daemon Running R-5
val:RIP ISIS OSPF Daemon Running R-5
val:BGP-2 Neighbor Settings JPG
val:01.01-SET
val:01.01-SET
val:01.02-VERIFICATION
val:01.02-VERIFICATION
val:01.03-DELETE
val:01.03-DELETE
val:02.01-SET
val:02.01-SET
val:02.02-VERIFICATION
val:02.02-VERIFICATION
val:02.03-DELETE
val:02.03-DELETE
val:BGP-3 Network JPG
val:03.01-SET
val:03.01-SET SONiC BGP Policy
val:03.01-SET
val:03.01-SET SONiC BGP Policy
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.02-VERIFICATION
val:03.03-DELETE
val:03.03-DELETE
val:BGP-4 Redistribute JPG
val:04a.01-SET
val:04a.01-SET
val:04a.02-VERIFICATION
val:04a.02-VERIFICATION
val:04a.02-VERIFICATION
val:04a.02-VERIFICATION
val:04a.02-VERIFICATION
val:04a.02-VERIFICATION
val:04a.03-DELETE
val:04a.03-DELETE
val:04b.01-SET
val:04b.01-SET
val:04b.01-SET
val:04b.01-SET
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.02-VERIFICATION
val:04b.03-DELETE
val:04b.03-DELETE
val:04b.03-DELETE
val:04b.03-DELETE
val:04c.01-SET
val:04c.01-SET
val:04c.01-SET
val:04c.01-SET
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.02-VERIFICATION
val:04c.03-DELETE
val:04c.03-DELETE
val:04c.03-DELETE
val:04c.03-DELETE
val:BGP-5 AS Route Filtering JPG
val:05a.01-SET1
val:05a.01-SET1
val:05a.01-SET1
val:05a.01-SET1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.02-VERIFICATION1
val:05a.03-SET2
val:05a.03-SET2
val:05a.04-VERIFICTATION2
val:05a.04-VERIFICTATION2
val:05a.04-VERIFICATION1
val:05a.05-DELETE
val:05a.05-DELETE
val:05a.05-DELETE
val:05a.05-DELETE
val:05b.01-SET1
val:05b.01-SET1
val:05b.01-SET1
val:05b.01-SET1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.02-VERIFICATION1
val:05b.03-SET2
val:05b.03-SET2
val:05b.04-VERIFICTATION2
val:05b.04-VERIFICTATION2
val:05b.04-VERIFICATION1
val:05b.05-DELETE
val:05b.05-DELETE
val:05b.05-DELETE
val:05b.05-DELETE
val:BGP-6 Next Hop Attribute JPG
val:06.01-SET1
val:06.01-SET1
val:06.01-SET1
val:06.01-SET1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.02-VERIFICATION1
val:06.03-SET2
val:06.04-VERIFICTATION2
val:06.04-VERIFICTATION2
val:06.04-VERIFICATION1
val:06.05-DELETE
val:06.05-DELETE
val:06.05-DELETE
val:06.05-DELETE
val:BGP-7 Weight Attribute JPG
val:07.01-SET1
val:07.01-SET1
val:07.01-SET1
val:07.02-VERIFICATION1
val:07.02-VERIFICATION1
val:07.02-VERIFICATION1
val:07.02-VERIFICATION1
val:07.03-SET2
val:07.03-SET2
val:07.04-VERIFICATION2
val:07.05-DELETE
val:07.05-DELETE
val:07.05-DELETE
val:BGP-8 Local Preference JPG
val:08.01-SET1
val:08.01-SET1
val:08.01-SET1
val:08.01-SET1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.02-VERIFICATION1
val:08.03-SET2
val:08.03-SET2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.04-VERIFICATION2
val:08.05-DELETE
val:08.05-DELETE
val:08.05-DELETE
val:08.05-DELETE
val:BGP-9 Aggregation Default JPG
val:09a.01-SET1
val:09a.01-SET1
val:09a.01-SET1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.02-VERIFICATION1
val:09a.03-SET2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.04-VERIFICATION2
val:09a.05-DELETE
val:09a.05-DELETE
val:09a.05-DELETE
val:09b.01-SET1
val:09b.01-SET1
val:09b.01-SET1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.02-VERIFICATION1
val:09b.03-SET2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.04-VERIFICATION2
val:09b.05-DELETE
val:09b.05-DELETE
val:09b.05-DELETE
val:BGP-10 Private AS JPG
val:10.01-SET1
val:10.01-SET1
val:10.01-SET1
val:10.01-SET1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.02-VERIFICATION1
val:10.03-SET2
val:10.04-VERIFICATION2
val:10.05-DELETE
val:10.05-DELETE
val:10.05-DELETE
val:10.05-DELETE
val:BGP-11 Peer Group JPG
val:11.01-SET
val:11.01-SET
val:11.01-SET
val:11.01-SET
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.02-VERIFICATION
val:11.03-DELETE
val:11.03-DELETE
val:11.03-DELETE
val:11.03-DELETE
val:BGP-12 Confederation JPG
val:12.01-SET
val:12.01-SET
val:12.01-SET
val:12.01-SET
val:12.01-SET
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.02-VERIFICATION
val:12.03-DELETE
val:12.03-DELETE
val:12.03-DELETE
val:12.03-DELETE
val:12.03-DELETE
val:BGP-13 Route Reflector JPG
val:13.01-SET1
val:13.01-SET1
val:13.01-SET1
val:13.01-SET1
val:13.01-SET1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.02-VERIFICATION1
val:13.03-SET2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.04-VERIFICATION2
val:13.05-DELETE
val:13.05-DELETE
val:13.05-DELETE
val:13.05-DELETE
val:13.05-DELETE
val:BGP-14 JPG
val:14.01-SET1
val:14.01-SET1
val:14.01-SET1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.02-VERIFICATION1
val:14.03-SET2
val:14.03-SET2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.04-VERIFICATION2
val:14.05-DELETE
val:14.05-DELETE
val:14.05-DELETE
val:BGP-15 Authentication JPG
val:15.01-SET1
val:15.01-SET1
val:15.02-VERIFICATION1
val:15.02-VERIFICATION1
val:15.02-VERIFICATION1
val:15.02-VERIFICATION1
val:15.03-SET2
val:15.04-VERIFICATION2
val:15.04-VERIFICATION2
val:15.04-VERIFICATION2
val:15.04-VERIFICATION2
val:15.05-SET3
val:15.06-VERIFICATION3
val:15.06-VERIFICATION3
val:15.06-VERIFICATION3
val:15.06-VERIFICATION3
val:15.07-DELETE
val:15.07-DELETE
val:BGP-16 Timer JPG
val:16.01-SET1
val:16.01-SET1
val:16.01-SET1
val:16.02-VERIFICATION1
val:16.02-VERIFICATION1
val:16.03-SET2
val:16.03-SET2
val:16.04-VERIFICATION2
val:16.04-VERIFICATION2
val:16.05-SET3
val:16.05-SET3
val:16.06-VERIFICATION3
val:16.06-VERIFICATION3
val:16.07-DELETE
val:16.07-DELETE
val:16.07-DELETE
val:BGP-17 Multi Path JPG
val:17.01-SET1
val:17.01-SET1
val:17.01-SET1
val:17.02-VERIFICATION1
val:17.02-VERIFICATION1
val:17.03-SET2
val:17.04-VERIFICATION2
val:17.04-VERIFICATION2
val:17.05-SET3
val:17.06-VERIFICATION3
val:17.06-VERIFICATION3
val:17.07-DELETE
val:17.07-DELETE
val:17.07-DELETE
Saved HTML : converter_report/scenario_dir/scenario_bgp.html
✅ Complete convert test report. . .
Waiting 20s before the next scenario...
===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_bgp_policy.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: R-1,R-2,R-3,R-4
H/TG Devices: None
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_bgp_policy.yaml
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_bgp_policy.yaml --showlocals --assert plain --show-capture no -rav --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
20:11:12 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
20:11:13 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
20:11:14 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
20:11:14 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
20:11:15 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
20:11:16 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
20:11:17 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
20:11:17 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
20:11:17 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
20:11:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:17 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
20:11:17 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
20:11:17 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo20:11:17 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc20:11:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:19 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:19 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
20:11:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
20:11:20 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
20:11:20 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:20 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
20:11:20 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:21 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
20:11:21 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:21 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
20:11:21 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:22 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
20:11:23 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:25 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:25 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
20:11:25 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
20:11:25 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
20:11:25 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:26 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
20:11:26 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:26 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
20:11:26 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:27 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
20:11:27 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:27 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
20:11:28 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:30 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:30 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
20:11:30 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
20:11:30 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
20:11:30 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:31 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
20:11:31 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:32 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
20:11:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:32 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
20:11:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:32 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
20:11:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:35 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:35 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
20:11:35 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
20:11:37 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
20:11:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:37 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
20:11:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
20:11:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
20:11:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
20:11:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property20:11:40 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
20:11:40 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
20:11:40 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
20:11:40 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context20:11:40 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)20:11:40 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
20:11:41 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
20:11:41 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
20:11:42 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
20:11:43 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
20:11:43 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
20:11:44 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
20:11:44 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
20:11:45 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
20:11:45 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
20:11:46 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
20:11:46 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)20:11:47 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_bgp_policy.yaml
20:11:47 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_bgp_policy.yaml
20:11:49 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_bgp_policy.yaml
20:11:49 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario20:11:49 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)20:11:59 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
20:12:00 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
20:12:00 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
20:12:00 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
20:12:00 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
20:12:00 transport._log L1873 INFO | Authentication (publickey) failed.
20:12:00 transport._log L1873 INFO | Authentication (password) successful!
20:12:00 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:43 2026 from 10.250.0.1
admin@R-1:~$
20:12:01 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
20:12:02 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
20:12:02 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
20:12:02 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
20:12:02 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
20:12:02 transport._log L1873 INFO | Authentication (publickey) failed.
20:12:02 transport._log L1873 INFO | Authentication (password) successful!
20:12:02 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:45 2026 from 10.250.0.1
admin@R-2:~$
20:12:03 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
20:12:04 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
20:12:04 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
20:12:04 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
20:12:04 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
20:12:04 transport._log L1873 INFO | Authentication (publickey) failed.
20:12:04 transport._log L1873 INFO | Authentication (password) successful!
20:12:04 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:46 2026 from 10.250.0.1
admin@R-3:~$
20:12:05 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
20:12:06 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
20:12:06 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
20:12:06 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
20:12:06 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
20:12:06 transport._log L1873 INFO | Authentication (publickey) failed.
20:12:06 transport._log L1873 INFO | Authentication (password) successful!
20:12:06 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:49 2026 from 10.250.0.1
admin@R-4:~$
20:12:08 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
20:12:08 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)20:12:08 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
20:12:08 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)20:12:09 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
20:12:09 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
20:12:09 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
20:12:09 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
20:12:11 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
20:12:11 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
20:12:11 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
20:12:11 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
20:12:11 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.312808 seconds
20:12:11 __init__.analyzer_add_marker L0035 INFO | add marker called on R-1
20:12:11 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-1
20:12:11 __init__.analyzer_add_marker L0035 INFO | add marker called on R-2
20:12:11 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-2
20:12:11 __init__.analyzer_add_marker L0035 INFO | add marker called on R-3
20:12:11 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-3
20:12:11 __init__.analyzer_add_marker L0035 INFO | add marker called on R-4
20:12:11 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-4
20:12:13 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
20:12:13 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
20:12:13 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
20:12:13 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
20:12:13 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:02.513815 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
20:12:13 test_sonic.run_scenario L0098 INFO | test device hostname: , , , ]>
20:12:13 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
20:12:13 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
20:12:13 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
20:12:13 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
20:12:13 test_sonic.run_scenario L0130 INFO | nodes: R-1
20:12:13 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-1
node name:
R-1
20:12:13 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:43 2026 from 10.250.0.1
admin@R-1:~$
20:12:13 test_sonic.run_scenario L0144 INFO | step 3)
pass
20:12:13 test_sonic.run_scenario L0130 INFO | nodes: R-2
20:12:13 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-2
node name:
R-2
20:12:13 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:45 2026 from 10.250.0.1
admin@R-2:~$
20:12:13 test_sonic.run_scenario L0144 INFO | step 3)
pass
20:12:13 test_sonic.run_scenario L0130 INFO | nodes: R-3
20:12:13 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-3
node name:
R-3
20:12:13 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:46 2026 from 10.250.0.1
admin@R-3:~$
20:12:13 test_sonic.run_scenario L0144 INFO | step 3)
pass
20:12:13 test_sonic.run_scenario L0130 INFO | nodes: R-4
20:12:13 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-4
node name:
R-4
20:12:13 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:49 2026 from 10.250.0.1
admin@R-4:~$
20:12:13 test_sonic.run_scenario L0144 INFO | step 3)
pass
20:12:13 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:IP Assign for BGP Func Test
20:12:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-1
node name: R-1
20:12:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.1.1/30'}, {'command': 'sudo config interface ip add Ethernet12 10.1.1.5/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.1.9/30'}, {'command': 'sudo config interface ip add Ethernet16 10.10.1.1/24'}, {'command': 'sudo config interface ip add Ethernet20 10.10.2.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
20:12:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.1.1/30'}
expect values: []
not expect values: []
20:12:19 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.1.1.5/30'}
expect values: []
not expect values: []
20:12:25 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.1.9/30'}
expect values: []
not expect values: []
20:12:30 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.10.1.1/24'}
expect values: []
not expect values: []
20:12:36 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet20 10.10.2.1/24'}
expect values: []
not expect values: []
20:12:41 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-2
node name: R-2
20:12:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.1.2/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.1.6/30'}, {'command': 'sudo config interface ip add Ethernet12 10.1.3.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.20.0.1/24'}, {'command': 'sudo config interface ip add Ethernet20 10.20.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
20:12:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.1.2/30'}
expect values: []
not expect values: []
20:12:47 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.1.6/30'}
expect values: []
not expect values: []
20:12:53 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.1.3.1/24'}
expect values: []
not expect values: []
20:12:58 test_sonic.run_scenario L0244 INFO |
execute command result:
20:12:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:12:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:12:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.20.0.1/24'}
expect values: []
not expect values: []
20:13:04 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet20 10.20.1.1/24'}
expect values: []
not expect values: []
20:13:10 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-3
node name: R-3
20:13:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 10.1.1.10/30'}, {'command': 'sudo config interface ip add Ethernet8 10.1.3.2/24'}, {'command': 'sudo config interface ip add Ethernet12 10.30.0.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.30.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], []]
sub scenario not expect values: [[], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
20:13:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 10.1.1.10/30'}
expect values: []
not expect values: []
20:13:15 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.3.2/24'}
expect values: []
not expect values: []
20:13:21 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.30.0.1/24'}
expect values: []
not expect values: []
20:13:27 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.30.1.1/24'}
expect values: []
not expect values: []
20:13:32 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IPv4 on R-4
node name: R-4
20:13:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.1.4.1/24'}, {'command': 'sudo config interface ip add Ethernet8 10.1.3.3/24'}, {'command': 'sudo config interface ip add Ethernet12 10.40.0.1/24'}, {'command': 'sudo config interface ip add Ethernet16 10.40.1.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], []]
sub scenario not expect values: [[], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
20:13:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.1.4.1/24'}
expect values: []
not expect values: []
20:13:38 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 10.1.3.3/24'}
expect values: []
not expect values: []
20:13:44 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet12 10.40.0.1/24'}
expect values: []
not expect values: []
20:13:49 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet16 10.40.1.1/24'}
expect values: []
not expect values: []
20:13:55 test_sonic.run_scenario L0244 INFO |
execute command result:
20:13:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:13:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:13:55 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Distribute List Out Function
20:13:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-1
20:13:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:13:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
20:14:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
20:14:00 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
20:14:03 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.934 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.686 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.924 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.686/0.848/0.934/0.114 ms
20:14:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-2
20:14:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
20:14:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
20:14:08 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
20:14:10 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.782 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.815 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.12 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2039ms
rtt min/avg/max/mdev = 0.782/0.905/1.118/0.151 ms
20:14:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-3
20:14:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:14:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:14:16 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
20:14:18 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.469 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.705 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.04 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2033ms
rtt min/avg/max/mdev = 0.469/0.737/1.037/0.232 ms
20:14:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-4
20:14:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map permit-all permit 10" \\\n-c "exit" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:14:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:14:24 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
20:14:26 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.908 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.01 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.14 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.908/1.017/1.140/0.095 ms
20:14:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:14:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:14:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:14:32 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 10 9 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
20:14:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:14:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 10 9 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
20:14:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:14:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:14:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:14:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:14:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:14:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:14:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:14:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:14:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:14:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:02:24
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:02:24
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:02:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:02:12
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:02:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:02:07
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:02:07
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:02:01
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:17
20:14:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:14:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:02:24
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:02:24
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:02:18
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:02:12
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:02:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:02:07
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:02:07
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:02:01
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:17
20:14:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:14:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:14:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 9 10 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 13 10 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 16 11 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:14:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:14:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 9 10 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 13 10 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 16 11 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:14:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:14:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:14:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:14:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:14:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:14:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:14:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:14:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:14:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:14:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:02:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:02:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:01:55
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:01:49
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:01:49
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:42
20:14:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:14:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:02:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:02:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:02:00
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:48
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:01:55
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:01:49
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:01:49
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:42
20:14:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:14:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:14:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:15:04 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 13 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
20:15:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:15:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 13 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
20:15:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:15:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:15:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:15:10 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:15:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:15:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:15:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:15:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:15:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:15:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:02:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:02:00
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:49
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:43
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:09:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09:08
20:15:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:15:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:02:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:02:00
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:49
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:43
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:09:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09:08
20:15:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:15:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:15:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:15:21 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 16 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:15:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:15:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 16 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:15:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:15:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:15:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:15:26 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:15:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:15:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:15:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:15:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:15:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:15:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:48
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:01:48
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:01:54
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:42
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07:32
20:15:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:15:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:01:48
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:01:48
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:01:54
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:01:54
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:01:42
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:01:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:07:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:07:32
20:15:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D 0.0.0.0
node name: R-2
20:15:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:15:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:15:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:15:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:15:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:15:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:15:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:15:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:15:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:15:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:15:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:15:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:15:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:15:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:15:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 11 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:15:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:15:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 11 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:15:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:15:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:15:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:15:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:15:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:15:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:15:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:15:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:15:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:15:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:17
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:41
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:33
20:15:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:15:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:03:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:03:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:17
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:41
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:13:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:13:33
20:15:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:15:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:15:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:16:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:16:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:16:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:16:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-2
20:16:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:16:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:16:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:16:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:16:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:16:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:16:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:16:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:16:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 14 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:16:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:16:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 14 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:16:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:16:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:16:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:16:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:16:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:16:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:16:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:16:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:44
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:00
20:16:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:16:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:04:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:04:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:04:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:03:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:03:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:03:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:03:44
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:00
20:16:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:16:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:16:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:16:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 14 19 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 15 12 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 18 13 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:16:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:16:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 14 19 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 15 12 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 18 13 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:16:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:16:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:16:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:16:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:16:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:16:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:16:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:16:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:55
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:03:50
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:03:44
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:32
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:03:39
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:03:33
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:03:33
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:26
20:16:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:16:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:03:55
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:03:50
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:03:44
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:32
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:03:39
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:03:33
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:03:33
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:26
20:16:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:16:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:16:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:16:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 15 5 0 0 00:02:31 3 5 N/A
Total number of neighbors 1
20:16:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:16:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 15 5 0 0 00:02:31 3 5 N/A
Total number of neighbors 1
20:16:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:16:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:16:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:16:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:16:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:16:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:16:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:16:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:16:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:03:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:03:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:32
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:26
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:51
20:16:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:16:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:03:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:03:43
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:32
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:26
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:51
20:16:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:16:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:16:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:17:04 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 18 5 0 0 00:02:40 3 5 N/A
Total number of neighbors 1
20:17:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:17:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 18 5 0 0 00:02:40 3 5 N/A
Total number of neighbors 1
20:17:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:17:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:17:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:17:09 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:17:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:17:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:17:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:17:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:17:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:17:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:03:31
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:03:31
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:03:37
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:25
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:09:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09:15
20:17:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:17:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:03:31
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:03:31
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:03:37
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:03:37
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:03:25
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:03:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:09:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:09:15
20:17:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D A.B.C.D
node name: R-2
20:17:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:17:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:17:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:17:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:17:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:17:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:17:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:17:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 16 11 0 0 00:03:22 2 3 N/A
Total number of neighbors 1
20:17:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:17:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 16 11 0 0 00:03:22 2 3 N/A
Total number of neighbors 1
20:17:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:17:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:17:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:17:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:17:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:17:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:17:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:17:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:17:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:17:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:17
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:11
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:05:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:00
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:24
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:16
20:17:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:17:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:17
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:11
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:05:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:00
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:24
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:16
20:17:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:17:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:17:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:17:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-2
20:17:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:17:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:17:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:17:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:17:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:17:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:17:59 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 27 18 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:17:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:17:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 27 18 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:17:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:17:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:17:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:18:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:18:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:18:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:18:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:18:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:18:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:05:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:28
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:44
20:18:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:18:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:05:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:05:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:05:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:05:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:05:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:05:28
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:15:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:15:44
20:18:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:18:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:18:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:18:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 19 28 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 16 13 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 19 14 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:18:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:18:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 19 28 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 16 13 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 19 14 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:18:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:18:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:18:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:18:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:18:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:18:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:18:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:18:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:05:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:05:27
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:15
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:05:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:05:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:05:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:09
20:18:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:18:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:05:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:05:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:05:27
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:15
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:05:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:05:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:05:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:09
20:18:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:18:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:18:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:18:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 14 17 5 0 0 00:04:14 3 5 N/A
Total number of neighbors 1
20:18:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:18:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 14 17 5 0 0 00:04:14 3 5 N/A
Total number of neighbors 1
20:18:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:18:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:18:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:18:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:18:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:18:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:18:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:18:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:05:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:05:27
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:16
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:35
20:18:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:18:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:05:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:05:27
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:16
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:35
20:18:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:18:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:18:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:18:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 20 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:18:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:18:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 20 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:18:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:18:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:18:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:18:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:18:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:18:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:18:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:18:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:18:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:05:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:05:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:59
20:18:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:18:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:05:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:05:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:05:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:05:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:05:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:05:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:10:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:10:59
20:18:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D
node name: R-2
20:18:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0" \\\n-c "access-list 1 deny 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:18:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0" \\\n-c "access-list 1 deny 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:19:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:19:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:19:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:19:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:19:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:19:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:19:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:19:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:19:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 33 21 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:19:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:19:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 33 21 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:19:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:19:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:19:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:19:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:19:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:19:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:19:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:19:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:19:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:19:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:07:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:07:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:07:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:07:06
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:55
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:19
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:11
20:19:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:19:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:07:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:07:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:07:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:07:06
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:06:55
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:19
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:11
20:19:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:19:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:19:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:19:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:19:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-2
20:19:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:19:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:19:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:19:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:19:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:19:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:19:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:19:53 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 36 23 17 0 0 00:05:44 4 5 N/A
Total number of neighbors 1
20:19:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:19:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 36 23 17 0 0 00:05:44 4 5 N/A
Total number of neighbors 1
20:19:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:19:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:19:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:19:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:19:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:19:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:19:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:19:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:19:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:20:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:07:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:07:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:07:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:07:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:46
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:38
20:20:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:20:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:07:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:07:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:07:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:07:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:07:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:07:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:46
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:38
20:20:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:20:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:20:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:20:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 24 37 5 0 0 00:06:01 1 5 N/A
10.1.3.2 4 300 18 15 5 0 0 00:05:53 2 5 N/A
10.1.3.3 4 400 21 16 5 0 0 00:05:45 2 5 N/A
Total number of neighbors 3
20:20:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:20:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 24 37 5 0 0 00:06:01 1 5 N/A
10.1.3.2 4 300 18 15 5 0 0 00:05:53 2 5 N/A
10.1.3.3 4 400 21 16 5 0 0 00:05:45 2 5 N/A
Total number of neighbors 3
20:20:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:20:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:20:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:20:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:20:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:20:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:20:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:20:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:07:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:07:22
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:07:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:07:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:07:11
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:03
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:55
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:04
20:20:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:20:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:07:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:07:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:07:22
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:07:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:07:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:07:11
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:03
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:55
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:04
20:20:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:20:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:20:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:20:26 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 16 19 5 0 0 00:06:09 3 5 N/A
Total number of neighbors 1
20:20:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:20:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 16 19 5 0 0 00:06:09 3 5 N/A
Total number of neighbors 1
20:20:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:20:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:20:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:20:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:20:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:20:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:20:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:20:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:07:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:07:22
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:16
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:19
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:11
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:05
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:11
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:30
20:20:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:20:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:07:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:07:22
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:16
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:19
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:11
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:07:05
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:11
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:30
20:20:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:20:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:20:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:20:42 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 22 5 0 0 00:06:18 3 5 N/A
Total number of neighbors 1
20:20:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:20:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 22 5 0 0 00:06:18 3 5 N/A
Total number of neighbors 1
20:20:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:20:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:20:48 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:20:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:20:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:20:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:20:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:20:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:20:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:10
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:07:10
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:16
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:07:16
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:27
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:27
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:04
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:54
20:20:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:20:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:07:10
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:07:10
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:07:16
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:07:16
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:27
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:27
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:07:04
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:06:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:12:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:12:54
20:20:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny host A.B.C.D
node name: R-2
20:20:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.30.0.0" \\\n-c "access-list 1 deny host 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:20:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.30.0.0" \\\n-c "access-list 1 deny host 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:20:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:20:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:20:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:20:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:20:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:20:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:21:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:21:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list 1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:21:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:21:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:21:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 42 26 19 0 0 00:07:01 2 3 N/A
Total number of neighbors 1
20:21:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:21:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 42 26 19 0 0 00:07:01 2 3 N/A
Total number of neighbors 1
20:21:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:21:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:21:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:21:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:21:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:21:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:21:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:21:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:21:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:21:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:38
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:02
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:54
20:21:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:21:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:08:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:08:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:08:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:08:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:08:38
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:02
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:54
20:21:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:21:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:21:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list 1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:21:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:21:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-2
20:21:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:21:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:21:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:21:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:21:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:21:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:21:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:21:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 45 28 21 0 0 00:07:28 4 5 N/A
Total number of neighbors 1
20:21:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:21:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 45 28 21 0 0 00:07:28 4 5 N/A
Total number of neighbors 1
20:21:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:21:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:21:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:21:42 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:21:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:21:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:21:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:21:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:21:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:21:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:09:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:09:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:06
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:30
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:22
20:21:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:21:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:09:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:09:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:09:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:09:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:09:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:09:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:09:06
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:30
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:22
20:21:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:21:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:21:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:21:53 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 28 45 5 0 0 00:07:44 1 5 N/A
10.1.3.2 4 300 20 17 5 0 0 00:07:36 2 5 N/A
10.1.3.3 4 400 23 18 5 0 0 00:07:28 2 5 N/A
Total number of neighbors 3
20:21:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:21:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 28 45 5 0 0 00:07:44 1 5 N/A
10.1.3.2 4 300 20 17 5 0 0 00:07:36 2 5 N/A
10.1.3.3 4 400 23 18 5 0 0 00:07:28 2 5 N/A
Total number of neighbors 3
20:21:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:21:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:21:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:21:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:21:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:21:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:21:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:21:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:21:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:22:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:53
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:08:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:08:54
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:46
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:46
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:38
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:47
20:22:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:22:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:09:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:09:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:09:05
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:53
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:09:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:08:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:08:54
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:46
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:46
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:38
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:47
20:22:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:22:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:22:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:22:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 20 5 0 0 00:07:52 3 5 N/A
Total number of neighbors 1
20:22:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:22:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 20 5 0 0 00:07:52 3 5 N/A
Total number of neighbors 1
20:22:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:22:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:22:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:22:14 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:22:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:22:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:22:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:22:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:22:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:22:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:09:05
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:05
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:59
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:02
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:54
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:48
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:54
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:13
20:22:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:22:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:09:05
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:09:05
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:59
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:02
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:54
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:48
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:54
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:13
20:22:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:22:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:22:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:22:25 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 24 5 0 0 00:08:01 3 5 N/A
Total number of neighbors 1
20:22:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:22:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 24 5 0 0 00:08:01 3 5 N/A
Total number of neighbors 1
20:22:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:22:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:22:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:22:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:22:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:22:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:22:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:22:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:22:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:22:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:53
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:53
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:59
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:08:59
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:10
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:10
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:10
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:47
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:37
20:22:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:22:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:08:53
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:08:53
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:08:59
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:08:59
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:10
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:10
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:10
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:08:47
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:08:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:14:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:14:37
20:22:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D 0.0.0.0
node name: R-2
20:22:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:22:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:22:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:22:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:22:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:22:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:22:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:22:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:22:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:22:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:22:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:22:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:22:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:22:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:22:52 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 50 30 23 0 0 00:08:44 2 3 N/A
Total number of neighbors 1
20:22:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:22:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 50 30 23 0 0 00:08:44 2 3 N/A
Total number of neighbors 1
20:22:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:22:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:22:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:22:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:22:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:22:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:22:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:22:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:22:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:23:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:10:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:10:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:38
20:23:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:23:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:10:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:10:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:10:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:10:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:20:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:20:38
20:23:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:23:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:23:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:23:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:23:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:23:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:23:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-2
20:23:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:23:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:23:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:23:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:23:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:23:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:23:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:23:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:23:20 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 54 33 25 0 0 00:09:11 4 5 N/A
Total number of neighbors 1
20:23:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:23:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 54 33 25 0 0 00:09:11 4 5 N/A
Total number of neighbors 1
20:23:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:23:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:23:25 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:23:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:23:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:23:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:23:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:23:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:49
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:13
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:05
20:23:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:23:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:11:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:11:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:11:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:11:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:11:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:10:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:10:49
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:13
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:05
20:23:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:23:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:23:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:23:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 33 54 5 0 0 00:09:27 1 5 N/A
10.1.3.2 4 300 22 19 5 0 0 00:09:19 2 5 N/A
10.1.3.3 4 400 25 20 5 0 0 00:09:11 2 5 N/A
Total number of neighbors 3
20:23:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:23:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 33 54 5 0 0 00:09:27 1 5 N/A
10.1.3.2 4 300 22 19 5 0 0 00:09:19 2 5 N/A
10.1.3.3 4 400 25 20 5 0 0 00:09:11 2 5 N/A
Total number of neighbors 3
20:23:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:23:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:23:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:23:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:23:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:23:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:23:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:23:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:59
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:10:54
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:10:48
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:36
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:10:43
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:10:37
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:10:37
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:29
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:21
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:30
20:23:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:23:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:10:59
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:10:54
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:10:48
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:36
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:10:43
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:10:37
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:10:37
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:29
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:21
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:30
20:23:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:23:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:23:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:23:52 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 22 5 0 0 00:09:35 3 5 N/A
Total number of neighbors 1
20:23:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:23:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 22 5 0 0 00:09:35 3 5 N/A
Total number of neighbors 1
20:23:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:23:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:23:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:23:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:23:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:23:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:23:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:23:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:24:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:10:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:10:48
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:42
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:45
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:37
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:31
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:37
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:56
20:24:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:24:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:10:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:10:48
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:42
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:45
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:37
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:31
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:37
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:17:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:17:56
20:24:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:24:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:24:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 25 5 0 0 00:09:44 3 5 N/A
Total number of neighbors 1
20:24:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:24:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 25 5 0 0 00:09:44 3 5 N/A
Total number of neighbors 1
20:24:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:24:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:24:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:24:14 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:24:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:24:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:24:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:24:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:24:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:24:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:36
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:10:36
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:42
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:10:42
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:53
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:53
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:53
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:30
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:20
20:24:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:24:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:10:36
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:10:36
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:10:42
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:10:42
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:53
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:53
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:53
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:10:30
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:10:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:16:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:16:20
20:24:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D A.B.C.D
node name: R-2
20:24:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:24:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:24:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:24:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:24:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:24:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:24:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:24:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 59 35 27 0 0 00:10:27 2 3 N/A
Total number of neighbors 1
20:24:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:24:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 59 35 27 0 0 00:10:27 2 3 N/A
Total number of neighbors 1
20:24:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:24:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:24:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:24:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:24:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:24:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:24:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:24:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:24:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:24:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:12:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:12:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:12:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:05
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:29
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:21
20:24:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:24:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:12:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:12:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:12:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:05
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:29
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:21
20:24:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:24:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:24:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:24:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-2
20:24:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:24:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:24:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:24:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:24:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:24:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:25:03 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 62 37 29 0 0 00:10:54 4 5 N/A
Total number of neighbors 1
20:25:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:25:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 62 37 29 0 0 00:10:54 4 5 N/A
Total number of neighbors 1
20:25:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:25:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:25:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:25:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:25:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:25:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:25:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:25:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:55
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:12:55
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:12:49
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:12:43
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:38
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:38
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:32
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:56
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:48
20:25:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:25:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:55
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:12:55
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:12:49
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:12:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:12:43
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:38
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:12:38
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:12:32
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:56
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:48
20:25:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:25:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:25:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:25:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 38 63 5 0 0 00:11:11 1 5 N/A
10.1.3.2 4 300 24 21 5 0 0 00:11:03 2 5 N/A
10.1.3.3 4 400 26 21 5 0 0 00:10:55 2 5 N/A
Total number of neighbors 3
20:25:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:25:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 38 63 5 0 0 00:11:11 1 5 N/A
10.1.3.2 4 300 24 21 5 0 0 00:11:03 2 5 N/A
10.1.3.3 4 400 26 21 5 0 0 00:10:55 2 5 N/A
Total number of neighbors 3
20:25:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:25:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:25:25 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:25:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:25:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:25:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:25:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:25:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:43
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:12:38
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:12:32
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:20
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:12:27
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:12:21
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:12:21
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:13
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:13
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:05
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:14
20:25:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:25:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:12:43
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:12:38
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:12:32
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:20
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:12:27
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:12:21
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:12:21
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:13
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:13
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:05
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:14
20:25:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:25:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:25:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:25:36 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 21 24 5 0 0 00:11:19 3 5 N/A
Total number of neighbors 1
20:25:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:25:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 21 24 5 0 0 00:11:19 3 5 N/A
Total number of neighbors 1
20:25:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:25:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:25:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:25:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:25:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:25:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:25:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:25:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:12:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:12:31
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:28
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:20
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:14
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:39
20:25:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:25:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:12:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:12:31
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:28
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:20
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:14
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:39
20:25:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:25:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:25:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:25:52 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 22 27 5 0 0 00:11:28 3 5 N/A
Total number of neighbors 1
20:25:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:25:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 22 27 5 0 0 00:11:28 3 5 N/A
Total number of neighbors 1
20:25:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:25:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:25:57 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:25:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:25:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:25:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:25:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:25:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:26:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:19
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:12:19
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:12:25
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:12:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:13
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:03
20:26:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:26:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:12:19
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:12:19
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:12:25
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:12:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:12:13
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:12:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:18:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:18:03
20:26:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D
node name: R-2
20:26:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0" \\\n-c "access-list standard1 deny 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0" \\\n-c "access-list standard1 deny 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:26:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:26:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:26:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:26:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:26:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:26:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:26:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 68 40 31 0 0 00:12:11 2 3 N/A
Total number of neighbors 1
20:26:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:26:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 68 40 31 0 0 00:12:11 2 3 N/A
Total number of neighbors 1
20:26:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:26:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:26:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:26:25 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:26:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:26:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:26:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:26:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:26:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:26:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:13:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:48
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:12
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:04
20:26:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:26:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:13:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:13:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:13:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:13:48
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:12
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:04
20:26:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:26:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:26:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:26:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-2
20:26:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:26:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:26:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:26:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:26:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:26:46 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 71 42 33 0 0 00:12:38 4 5 N/A
Total number of neighbors 1
20:26:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:26:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 71 42 33 0 0 00:12:38 4 5 N/A
Total number of neighbors 1
20:26:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:26:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:26:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:26:52 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:26:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:26:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:26:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:26:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:26:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:26:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:14:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:14:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:16
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:40
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:32
20:26:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:26:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:14:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:14:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:14:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:14:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:14:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:14:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:14:16
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:40
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:32
20:26:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:26:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:26:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:27:03 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 42 71 5 0 0 00:12:54 1 5 N/A
10.1.3.2 4 300 25 22 5 0 0 00:12:46 2 5 N/A
10.1.3.3 4 400 28 23 5 0 0 00:12:38 2 5 N/A
Total number of neighbors 3
20:27:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:27:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 42 71 5 0 0 00:12:54 1 5 N/A
10.1.3.2 4 300 25 22 5 0 0 00:12:46 2 5 N/A
10.1.3.3 4 400 28 23 5 0 0 00:12:38 2 5 N/A
Total number of neighbors 3
20:27:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:27:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:27:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:27:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:27:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:27:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:27:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:27:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:03
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:14:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:14:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:14:04
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:56
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:56
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:48
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:57
20:27:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:27:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:14:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:14:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:14:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:03
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:14:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:14:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:14:04
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:56
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:56
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:48
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:48
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:22:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:22:57
20:27:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:27:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:27:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:27:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 23 26 5 0 0 00:13:02 3 5 N/A
Total number of neighbors 1
20:27:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:27:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 23 26 5 0 0 00:13:02 3 5 N/A
Total number of neighbors 1
20:27:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:27:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:27:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:27:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:27:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:27:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:27:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:27:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:14:15
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:14:15
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:09
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:12
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:14:04
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:58
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:04
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:23
20:27:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:27:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:14:15
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:14:15
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:09
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:12
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:14:04
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:58
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:04
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:23
20:27:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:27:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:27:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:27:35 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 29 5 0 0 00:13:11 3 5 N/A
Total number of neighbors 1
20:27:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:27:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 29 5 0 0 00:13:11 3 5 N/A
Total number of neighbors 1
20:27:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:27:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:27:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:27:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:27:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:27:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:27:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:27:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:27:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:03
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:14:03
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:14:09
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:14:09
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:20
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:20
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:57
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:47
20:27:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:27:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:14:03
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:14:03
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:14:09
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:14:09
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:20
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:20
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:13:57
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:13:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:19:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:19:47
20:27:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny host A.B.C.D
node name: R-2
20:27:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.30.0.0" \\\n-c "access-list standard1 deny host 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:27:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.30.0.0" \\\n-c "access-list standard1 deny host 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:27:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:27:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:27:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:27:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list out
node name: R-2
20:27:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:27:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:27:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:27:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:27:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 distribute-list standard1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:27:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:27:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:27:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:28:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 76 44 35 0 0 00:13:54 2 3 N/A
Total number of neighbors 1
20:28:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:28:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 76 44 35 0 0 00:13:54 2 3 N/A
Total number of neighbors 1
20:28:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:28:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:28:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:28:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:28:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:28:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:28:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list out
node name: R-1
20:28:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:28:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:28:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:15:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:15:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:31
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:55
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:47
20:28:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:28:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:15:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:15:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:15:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:15:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:15:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:15:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:31
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:55
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:47
20:28:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list out
node name: R-2
20:28:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:28:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 distribute-list standard1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:28:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:28:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:28:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:28:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-2
20:28:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:28:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:28:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:28:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:28:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:28:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:28:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:28:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:28:29 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 80 47 37 0 0 00:14:21 4 5 N/A
Total number of neighbors 1
20:28:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:28:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 80 47 37 0 0 00:14:21 4 5 N/A
Total number of neighbors 1
20:28:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:28:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:28:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:28:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:28:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:28:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:28:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:28:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:28:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:28:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:22
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:22
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:16
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:05
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:05
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:59
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:23
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:15
20:28:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:28:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:22
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:16:22
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:16:16
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:16:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:16:10
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:16:05
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:16:05
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:15:59
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:23
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:15
20:28:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:28:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:28:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:28:46 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 47 80 5 0 0 00:14:38 1 5 N/A
10.1.3.2 4 300 27 24 5 0 0 00:14:30 2 5 N/A
10.1.3.3 4 400 30 25 5 0 0 00:14:22 2 5 N/A
Total number of neighbors 3
20:28:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:28:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 47 80 5 0 0 00:14:38 1 5 N/A
10.1.3.2 4 300 27 24 5 0 0 00:14:30 2 5 N/A
10.1.3.3 4 400 30 25 5 0 0 00:14:22 2 5 N/A
Total number of neighbors 3
20:28:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:28:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:28:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:28:52 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:28:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:28:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:28:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:28:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:28:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:28:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:15:58
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:15:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:15:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:15:47
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:39
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:39
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:31
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:40
20:28:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:28:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:16:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:16:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:15:58
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:15:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:15:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:15:47
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:39
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:39
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:31
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:24:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:24:40
20:28:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:28:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:28:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:29:03 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 27 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
20:29:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:29:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 24 27 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
20:29:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:29:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:29:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:29:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:29:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:29:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:29:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:29:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:29:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:29:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:15:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:15:58
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:55
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:47
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:06
20:29:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:29:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:15:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:15:58
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:55
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:47
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:06
20:29:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:29:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:29:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 25 30 5 0 0 00:14:54 3 5 N/A
Total number of neighbors 1
20:29:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:29:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 25 30 5 0 0 00:14:54 3 5 N/A
Total number of neighbors 1
20:29:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:29:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:29:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:29:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:29:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:29:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:29:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:29:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:29:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:29:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:15:46
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:52
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:15:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:03
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:40
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:30
20:29:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:29:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:15:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:15:46
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:15:52
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:15:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:03
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:15:40
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:15:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:21:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:21:30
20:29:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-1
20:29:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:29:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:29:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-2
20:29:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:29:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:29:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-3
20:29:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:29:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:29:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-4
20:29:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:29:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:29:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:52 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Distribute List In Function
20:29:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-1
20:29:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
20:29:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
20:29:57 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
20:29:59 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.902 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.721 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.656 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2034ms
rtt min/avg/max/mdev = 0.656/0.759/0.902/0.104 ms
20:29:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:29:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-2
20:29:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:29:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
20:30:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
20:30:05 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
20:30:07 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.02 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=1.00 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.910 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.910/0.979/1.024/0.049 ms
20:30:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-3
20:30:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:30:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:30:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:30:13 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
20:30:15 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=1.15 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.23 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.883 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.883/1.088/1.229/0.148 ms
20:30:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-4
20:30:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:30:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:30:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:30:20 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
20:30:23 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.701 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.22 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.981 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008ms
rtt min/avg/max/mdev = 0.701/0.968/1.224/0.213 ms
20:30:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:30:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:30:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:30:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:30:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:22 4 5 N/A
Total number of neighbors 1
20:30:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:30:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:22 4 5 N/A
Total number of neighbors 1
20:30:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:30:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:30:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:30:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:30:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:30:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:30:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:30:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:30:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:30:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:18:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:18:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:18:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:17:57
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:13
20:30:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:30:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:18:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:18:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:18:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:18:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:18:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:18:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:17:57
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:13
20:30:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:30:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:30:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:30:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:30:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:30:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:30:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:30:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:30:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:30:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:30:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:30:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:30:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:30:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:30:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:30:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:18:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:17:57
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:17:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:17:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:17:46
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:39
20:30:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:30:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:18:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:18:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:17:57
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:17:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:17:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:17:46
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:39
20:30:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:30:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:30:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:31:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:48 3 5 N/A
Total number of neighbors 1
20:31:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:31:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:48 3 5 N/A
Total number of neighbors 1
20:31:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:31:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:31:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:31:07 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:31:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:31:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:31:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:31:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:31:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:31:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:17:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:17:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:17:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:17:46
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:05
20:31:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:31:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:17:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:17:57
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:17:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:17:46
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:40
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:50
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:05
20:31:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:31:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:31:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:31:17 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:31:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:31:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:31:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:31:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:31:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:31:23 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:31:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:31:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:31:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:31:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:31:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:31:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:17:45
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:17:45
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:17:51
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:17:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:17:39
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:29
20:31:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:31:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:17:45
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:17:45
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:17:51
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:17:51
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:06
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:17:39
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:17:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:23:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:23:29
20:31:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D 0.0.0.0
node name: R-1
20:31:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:31:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:31:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:31:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:31:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:31:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:31:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:31:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:31:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 distribute-list 1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:31:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:31:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 distribute-list 1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.0
access-list 1 seq 10 deny 10.40.0.0 0.0.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:31:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:31:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:31:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:31:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 16 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:31:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:31:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 16 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:31:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:31:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:31:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:31:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:31:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:31:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:31:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:31:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:31:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:31:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:37
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:19:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:31
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:25
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:19:25
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:14
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:41
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:30
20:31:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:31:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:37
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:19:37
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:31
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:25
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:19:25
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:20
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:20
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:14
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:41
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:30
20:31:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:31:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:31:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:32:01 test_sonic.run_scenario L0244 INFO |
execute command result:
20:32:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:32:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:32:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-1
20:32:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:32:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:32:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:32:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:32:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:32:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:32:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:32:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:32:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 22 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:32:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:32:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 22 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:32:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:32:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:32:18 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:32:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:32:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:32:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:32:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:32:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:19:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:41
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:57
20:32:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:32:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:20:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:20:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:19:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:19:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:19:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:19:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:19:41
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:29:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:29:57
20:32:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:32:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:32:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:32:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 22 14 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:32:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:32:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 22 14 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:32:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:32:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:32:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:32:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:32:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:32:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:32:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:32:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:52
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:19:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:19:41
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:33
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:19:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:19:30
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:19:30
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:23
20:32:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:32:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:19:52
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:19:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:19:41
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:33
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:19:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:19:30
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:19:30
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:23
20:32:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:32:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:32:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:32:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:32 3 5 N/A
Total number of neighbors 1
20:32:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:32:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:32 3 5 N/A
Total number of neighbors 1
20:32:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:32:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:32:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:32:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:32:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:32:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:32:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:32:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:32:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:19:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:19:40
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:29
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:23
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:48
20:32:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:32:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:19:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:19:40
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:29
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:23
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:48
20:32:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:32:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:32:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:33:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:40 3 5 N/A
Total number of neighbors 1
20:33:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:33:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:40 3 5 N/A
Total number of neighbors 1
20:33:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:33:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:33:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:33:07 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:33:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:33:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:33:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:33:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:33:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:33:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:28
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:19:28
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:19:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:19:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:49
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:22
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:12
20:33:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:33:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:19:28
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:19:28
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:19:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:19:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:49
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:49
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:19:22
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:19:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:25:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:25:12
20:33:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D A.B.C.D
node name: R-1
20:33:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list 1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:33:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:33:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:33:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0 0.0.0.255
access-list 1 seq 10 deny 10.40.0.0 0.0.0.255
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:33:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:33:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:33:23 test_sonic.run_scenario L0244 INFO |
execute command result:
20:33:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:33:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:33:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:33:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:33:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 27 11 0 0 00:03:23 2 3 N/A
Total number of neighbors 1
20:33:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:33:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 27 11 0 0 00:03:23 2 3 N/A
Total number of neighbors 1
20:33:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:33:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:33:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:33:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:33:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:33:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:33:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:33:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:33:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:33:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:21:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:20:57
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:24
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:13
20:33:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:33:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:21:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:20:57
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:24
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:13
20:33:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:33:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:33:45 test_sonic.run_scenario L0244 INFO |
execute command result:
20:33:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:33:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:33:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-1
20:33:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:33:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:33:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:33:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:33:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:33:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:33:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:33:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 32 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:33:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:33:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 32 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:33:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:33:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:33:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:34:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:34:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:34:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:34:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:34:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:34:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:21:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:21:24
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:51
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:40
20:34:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:34:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:21:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:21:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:21:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:21:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:21:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:21:24
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:51
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:40
20:34:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:34:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:34:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:34:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 33 16 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 9 9 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:34:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:34:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 33 16 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 9 9 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:34:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:34:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:34:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:34:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:34:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:34:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:34:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:34:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:21:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:21:24
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:21:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:21:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:21:13
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:06
20:34:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:34:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:21:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:21:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:21:24
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:21:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:21:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:21:13
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:06
20:34:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:34:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:34:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:34:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:15 3 5 N/A
Total number of neighbors 1
20:34:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:34:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:15 3 5 N/A
Total number of neighbors 1
20:34:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:34:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:34:33 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:34:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:34:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:34:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:34:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:34:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:21:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:21:24
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:13
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:07
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:32
20:34:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:34:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:21:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:21:24
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:13
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:07
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:32
20:34:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:34:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:34:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:34:44 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:34:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:34:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:34:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:34:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:34:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:34:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:34:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:34:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:34:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:34:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:34:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:12
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:21:12
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:21:18
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:21:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:33
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:33
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:33
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:06
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:56
20:34:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:34:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:21:12
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:21:12
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:21:18
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:21:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:33
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:33
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:33
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:21:06
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:21:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:26:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:26:56
20:34:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D
node name: R-1
20:34:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0" \\\n-c "access-list 1 deny 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:34:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.30.0.0" \\\n-c "access-list 1 deny 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:35:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:35:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:35:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:35:06 test_sonic.run_scenario L0244 INFO |
execute command result:
20:35:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:35:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:35:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:35:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:35:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 38 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:35:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:35:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 38 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:35:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:35:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:35:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:35:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:35:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:35:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:35:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:35:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:35:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:35:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:22:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:22:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:22:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:22:41
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:08
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:57
20:35:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:35:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:22:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:22:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:22:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:22:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:22:41
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:08
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:57
20:35:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:35:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:35:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:35:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-1
20:35:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:35:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:35:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:35:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:35:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:35:39 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 43 17 0 0 00:05:33 4 5 N/A
Total number of neighbors 1
20:35:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:35:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 43 17 0 0 00:05:33 4 5 N/A
Total number of neighbors 1
20:35:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:35:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:35:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:35:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:35:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:35:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:35:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:35:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:35:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:35:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:23:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:23:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:23:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:23:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:35
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:24
20:35:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:35:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:23:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:23:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:23:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:23:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:23:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:23:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:23:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:35
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:24
20:35:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:35:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:35:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:35:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 43 17 5 0 0 00:05:50 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:42 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:34 2 5 N/A
Total number of neighbors 3
20:35:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:35:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 43 17 5 0 0 00:05:50 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:42 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:34 2 5 N/A
Total number of neighbors 3
20:35:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:35:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:35:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:36:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:36:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:36:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:36:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:36:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:36:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:36:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:23:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:23:07
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:05:59
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:23:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:22:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:22:56
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:49
20:36:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:36:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:23:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:23:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:23:07
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:05:59
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:23:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:22:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:22:56
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:51
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:49
20:36:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:36:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:36:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:36:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 11 5 0 0 00:05:58 3 5 N/A
Total number of neighbors 1
20:36:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:36:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 11 5 0 0 00:05:58 3 5 N/A
Total number of neighbors 1
20:36:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:36:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:36:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:36:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:36:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:36:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:36:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:36:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:36:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:36:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:23:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:23:07
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:23:01
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:07
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:22:56
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:50
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:15
20:36:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:36:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:23:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:23:07
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:23:01
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:07
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:22:56
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:50
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:15
20:36:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:36:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:36:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:36:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:06 3 5 N/A
Total number of neighbors 1
20:36:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:36:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:06 3 5 N/A
Total number of neighbors 1
20:36:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:36:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:36:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:36:33 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:36:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:36:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:36:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:36:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:36:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:36:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:22:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:22:55
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:23:01
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:23:01
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:16
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:16
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:22:49
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:39
20:36:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:36:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:22:55
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:22:55
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:23:01
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:23:01
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:16
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:16
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:22:49
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:22:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:28:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:28:39
20:36:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny host A.B.C.D
node name: R-1
20:36:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.30.0.0" \\\n-c "access-list 1 deny host 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:36:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.30.0.0" \\\n-c "access-list 1 deny host 10.40.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:36:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:36:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:36:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:36:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:36:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:36:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:36:49 test_sonic.run_scenario L0244 INFO |
execute command result:
20:36:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:36:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:36:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:36:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:36:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:36:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 48 19 0 0 00:06:49 2 3 N/A
Total number of neighbors 1
20:36:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:36:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 48 19 0 0 00:06:49 2 3 N/A
Total number of neighbors 1
20:36:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:36:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:36:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:37:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:37:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:37:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:37:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:37:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:37:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:37:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:24:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:24:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:24:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:24:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:51
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:40
20:37:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:37:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:24:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:24:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:24:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:24:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:24:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:51
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:34:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:34:40
20:37:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:37:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:37:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list 1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}
expect values: []
not expect values: []
20:37:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:37:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:37:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.30.0.0
access-list 1 seq 10 deny 10.40.0.0
access-list 1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:37:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-1
20:37:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:37:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:37:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:37:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:37:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:37:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:37:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:37:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:37:22 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 54 21 0 0 00:07:16 4 5 N/A
Total number of neighbors 1
20:37:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:37:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 54 21 0 0 00:07:16 4 5 N/A
Total number of neighbors 1
20:37:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:37:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:37:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:37:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:37:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:37:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:37:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:37:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:37:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:37:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:25:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:25:08
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:25:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:25:02
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:51
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:18
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:07
20:37:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:37:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:25:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:25:08
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:25:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:25:02
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:24:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:24:51
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:18
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:07
20:37:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:37:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:37:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:37:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 54 19 5 0 0 00:07:33 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:25 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:17 2 5 N/A
Total number of neighbors 3
20:37:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:37:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 54 19 5 0 0 00:07:33 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:25 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:17 2 5 N/A
Total number of neighbors 3
20:37:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:37:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:37:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:37:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:37:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:37:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:37:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:37:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:37:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:37:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:01
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:24:56
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:24:50
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:24:45
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:24:39
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:24:39
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:32
20:37:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:37:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:25:01
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:24:56
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:24:50
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:24:45
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:24:39
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:24:39
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:32
20:37:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:37:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:37:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:37:54 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:41 3 5 N/A
Total number of neighbors 1
20:37:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:37:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:41 3 5 N/A
Total number of neighbors 1
20:37:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:37:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:37:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:38:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:38:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:38:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:38:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:38:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:38:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:38:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:24:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:24:50
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:24:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:24:39
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:33
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:58
20:38:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:38:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:24:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:24:50
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:24:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:24:39
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:33
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:31:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:31:58
20:38:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:38:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:38:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:49 3 5 N/A
Total number of neighbors 1
20:38:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:38:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:49 3 5 N/A
Total number of neighbors 1
20:38:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:38:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:38:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:38:16 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:38:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:38:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:38:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:38:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:38:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:38:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:24:38
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:24:38
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:24:44
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:24:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:24:32
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:22
20:38:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:38:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:24:38
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:24:38
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:24:44
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:24:44
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:24:32
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:24:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:30:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:30:22
20:38:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D 0.0.0.0
node name: R-1
20:38:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.0" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:38:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:38:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:38:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:38:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:38:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:38:32 test_sonic.run_scenario L0244 INFO |
execute command result:
20:38:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:38:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:38:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:38:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:38:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 59 23 0 0 00:08:32 2 3 N/A
Total number of neighbors 1
20:38:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:38:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 59 23 0 0 00:08:32 2 3 N/A
Total number of neighbors 1
20:38:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:38:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:38:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:38:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:38:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:38:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:38:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:38:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:38:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:38:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:26:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:26:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:26:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:26:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:26:07
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:34
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:23
20:38:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:38:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:26:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:26:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:26:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:26:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:26:07
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:34
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:23
20:38:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:38:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:38:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:38:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:38:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.0
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:38:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-1
20:38:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:38:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:39:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:39:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:39:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:39:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:39:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:39:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:39:05 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 64 25 0 0 00:08:59 4 5 N/A
Total number of neighbors 1
20:39:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:39:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 64 25 0 0 00:08:59 4 5 N/A
Total number of neighbors 1
20:39:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:39:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:39:11 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:39:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:39:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:39:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:39:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:39:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:26:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:26:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:26:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:26:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:26:34
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:01
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:50
20:39:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:39:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:26:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:26:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:26:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:26:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:26:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:26:34
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:01
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:36:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:36:50
20:39:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:39:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:39:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:39:22 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 65 21 5 0 0 00:09:16 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:08 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:00 2 5 N/A
Total number of neighbors 3
20:39:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:39:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 65 21 5 0 0 00:09:16 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:08 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:00 2 5 N/A
Total number of neighbors 3
20:39:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:39:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:39:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:39:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:39:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:39:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:39:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:39:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:26:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:26:34
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:26:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:26:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:26:23
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:16
20:39:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:39:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:26:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:26:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:26:34
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:26:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:26:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:26:23
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:16
20:39:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:39:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:39:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:39:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:25 3 5 N/A
Total number of neighbors 1
20:39:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:39:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:25 3 5 N/A
Total number of neighbors 1
20:39:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:39:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:39:43 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:39:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:39:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:39:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:39:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:39:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:26:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:26:33
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:27
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:22
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:16
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:41
20:39:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:39:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:26:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:26:33
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:27
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:22
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:16
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:41
20:39:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:39:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:39:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:39:54 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:33 3 5 N/A
Total number of neighbors 1
20:39:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:39:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:33 3 5 N/A
Total number of neighbors 1
20:39:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:39:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:39:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:40:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:40:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:40:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:40:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:40:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:40:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:40:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:26:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:26:28
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:26:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:43
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:43
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:06
20:40:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:40:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:26:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:26:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:26:28
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:26:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:43
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:43
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:26:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:26:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:32:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:32:06
20:40:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D A.B.C.D
node name: R-1
20:40:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0 0.0.0.255" \\\n-c "access-list standard1 deny 10.40.0.0 0.0.0.255" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:40:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:40:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:40:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:40:16 test_sonic.run_scenario L0244 INFO |
execute command result:
20:40:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:40:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:40:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:40:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:40:21 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 70 27 0 0 00:10:16 2 3 N/A
Total number of neighbors 1
20:40:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:40:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 70 27 0 0 00:10:16 2 3 N/A
Total number of neighbors 1
20:40:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:40:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:40:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:40:27 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:40:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:40:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:40:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:40:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:40:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:40:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:13
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:28:13
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:28:07
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:28:01
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:28:01
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:27:56
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:27:56
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:27:50
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:06
20:40:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:40:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:13
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:28:13
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:28:07
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:28:01
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:28:01
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:27:56
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:27:56
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:27:50
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:06
20:40:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:40:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:40:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:40:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0 0.0.0.255
access-list standard1 seq 10 deny 10.40.0.0 0.0.0.255
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-1
20:40:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:40:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:40:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:40:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:40:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:40:49 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 75 29 0 0 00:10:43 4 5 N/A
Total number of neighbors 1
20:40:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:40:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 75 29 0 0 00:10:43 4 5 N/A
Total number of neighbors 1
20:40:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:40:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:40:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:40:54 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:40:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:40:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:40:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:40:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:40:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:40:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:41
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:28:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:28:35
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:28:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:28:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:28:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:28:18
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:45
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:34
20:40:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:40:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:41
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:28:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:28:35
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:28:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:28:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:28:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:28:18
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:45
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:34
20:40:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:40:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:40:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:41:05 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 75 22 5 0 0 00:10:59 1 5 N/A
10.1.3.2 4 300 16 16 5 0 0 00:10:51 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:43 2 5 N/A
Total number of neighbors 3
20:41:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:41:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 75 22 5 0 0 00:10:59 1 5 N/A
10.1.3.2 4 300 16 16 5 0 0 00:10:51 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:43 2 5 N/A
Total number of neighbors 3
20:41:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:41:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:41:21 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:41:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:41:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:41:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:41:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:41:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:28:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:28:27
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:19
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:28:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:28:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:28:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:09
20:41:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:41:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:28:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:28:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:28:27
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:19
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:28:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:28:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:28:16
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:09
20:41:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:41:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:41:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:41:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:18 3 5 N/A
Total number of neighbors 1
20:41:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:41:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:18 3 5 N/A
Total number of neighbors 1
20:41:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:41:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:41:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:41:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:41:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:41:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:41:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:41:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:28:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:28:27
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:27
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:16
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:35
20:41:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:41:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:28:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:28:27
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:27
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:16
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:10
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:35
20:41:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:41:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:41:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:41:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:26 3 5 N/A
Total number of neighbors 1
20:41:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:41:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:26 3 5 N/A
Total number of neighbors 1
20:41:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:41:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:41:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:41:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:41:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:41:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:41:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:41:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:41:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:28:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:28:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:28:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:59
20:41:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:41:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:28:15
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:28:15
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:28:21
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:28:21
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:28:09
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:28:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:33:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:33:59
20:41:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D
node name: R-1
20:41:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0" \\\n-c "access-list standard1 deny 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:41:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.30.0.0" \\\n-c "access-list standard1 deny 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:42:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:42:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:42:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:42:09 test_sonic.run_scenario L0244 INFO |
execute command result:
20:42:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:42:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:42:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:42:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:42:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 81 31 0 0 00:12:09 2 3 N/A
Total number of neighbors 1
20:42:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:42:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 81 31 0 0 00:12:09 2 3 N/A
Total number of neighbors 1
20:42:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:42:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:42:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:42:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:42:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:42:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:42:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:42:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:42:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:42:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:30:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:30:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:29:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:29:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:29:44
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:00
20:42:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:42:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:30:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:30:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:29:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:29:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:29:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:29:44
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:00
20:42:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:42:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:42:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:42:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-1
20:42:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:42:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:42:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:42:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:42:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:42:42 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 86 33 0 0 00:12:36 4 5 N/A
Total number of neighbors 1
20:42:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:42:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 86 33 0 0 00:12:36 4 5 N/A
Total number of neighbors 1
20:42:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:42:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:42:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:42:48 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:42:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:42:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:42:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:42:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:42:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:42:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:34
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:30:34
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:30:28
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:30:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:30:22
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:17
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:30:17
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:30:11
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:38
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:27
20:42:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:42:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:34
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:30:34
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:30:28
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:30:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:30:22
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:30:17
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:30:17
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:30:11
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:38
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:27
20:42:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:42:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:42:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:42:59 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 86 24 5 0 0 00:12:53 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:45 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:37 2 5 N/A
Total number of neighbors 3
20:42:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:42:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 86 24 5 0 0 00:12:53 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:45 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:37 2 5 N/A
Total number of neighbors 3
20:42:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:42:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:42:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:43:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:43:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:43:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:43:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:43:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:43:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:43:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:22
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:30:17
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:30:11
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:03
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:30:06
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:30:00
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:30:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:55
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:55
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:53
20:43:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:43:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:30:22
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:30:17
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:30:11
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:03
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:30:06
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:30:00
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:30:00
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:55
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:55
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:38:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:38:53
20:43:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:43:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:43:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:43:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:02 3 5 N/A
Total number of neighbors 1
20:43:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:43:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:02 3 5 N/A
Total number of neighbors 1
20:43:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:43:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:43:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:43:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:43:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:43:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:43:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:43:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:43:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:43:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:30:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:30:10
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:30:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:10
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:29:59
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:53
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:18
20:43:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:43:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:30:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:30:10
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:30:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:10
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:29:59
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:53
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:18
20:43:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:43:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:43:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:43:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:10 3 5 N/A
Total number of neighbors 1
20:43:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:43:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:10 3 5 N/A
Total number of neighbors 1
20:43:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:43:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:43:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:43:36 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:43:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:43:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:43:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:43:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:43:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:43:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:29:58
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:29:58
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:30:04
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:30:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:19
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:29:52
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:42
20:43:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:43:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:29:58
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:29:58
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:30:04
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:30:04
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:19
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:29:52
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:29:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:35:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:35:42
20:43:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny host A.B.C.D
node name: R-1
20:43:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.30.0.0" \\\n-c "access-list standard1 deny host 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:43:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.30.0.0" \\\n-c "access-list standard1 deny host 10.40.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:43:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:43:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:43:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:43:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set distribute-list in
node name: R-1
20:43:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:43:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:43:53 test_sonic.run_scenario L0244 INFO |
execute command result:
20:43:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:43:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:43:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:43:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:43:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:43:58 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 25 91 35 0 0 00:13:52 2 3 N/A
Total number of neighbors 1
20:43:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:43:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 25 91 35 0 0 00:13:52 2 3 N/A
Total number of neighbors 1
20:43:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:43:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 10
sub scenario delay: 10
20:43:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i']
20:44:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:44:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:44:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:44:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification distribute-list in
node name: R-1
20:44:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:44:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:44:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:31:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:31:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:31:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:31:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:27
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:54
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:43
20:44:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:44:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:31:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:31:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:31:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:31:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:31:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:31:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:27
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:54
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:43
20:44:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete distribute-list in
node name: R-1
20:44:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:44:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 distribute-list standard1 in" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
20:44:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:44:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:44:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.30.0.0
access-list standard1 seq 10 deny 10.40.0.0
access-list standard1 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:44:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-1
20:44:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:44:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:44:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:44:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:44:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:44:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:44:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:44:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:44:25 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 97 37 0 0 00:14:20 4 5 N/A
Total number of neighbors 1
20:44:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:44:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 97 37 0 0 00:14:20 4 5 N/A
Total number of neighbors 1
20:44:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:44:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:44:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:44:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:44:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:44:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:44:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:44:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:44:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:44:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:32:17
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:32:17
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:32:11
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:32:05
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:32:05
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:32:00
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:32:00
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:54
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:10
20:44:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:44:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:32:17
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:32:17
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:32:11
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:32:05
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:32:05
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:32:00
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:32:00
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:31:54
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:10
20:44:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:44:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:44:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:44:42 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 97 26 5 0 0 00:14:36 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:28 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:20 2 5 N/A
Total number of neighbors 3
20:44:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:44:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 97 26 5 0 0 00:14:36 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:28 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:20 2 5 N/A
Total number of neighbors 3
20:44:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:44:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:44:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:44:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:44:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:44:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:44:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:44:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:44:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:44:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:32:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:32:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:31:54
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:31:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:31:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:31:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:36
20:44:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:44:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:32:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:32:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:31:54
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:31:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:31:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:31:43
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:40:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:40:36
20:44:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:44:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:44:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:44:58 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
20:44:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:44:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
20:44:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:44:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:44:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:45:03 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:45:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:45:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:45:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:45:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:45:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:45:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:31:54
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:31:54
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:48
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:54
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:43
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:37
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:02
20:45:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:45:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:31:54
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:31:54
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:48
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:54
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:43
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:37
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:02
20:45:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:45:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:45:14 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:53 3 5 N/A
Total number of neighbors 1
20:45:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:45:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:53 3 5 N/A
Total number of neighbors 1
20:45:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:45:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:45:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:45:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:45:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:45:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:45:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:45:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:45:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:45:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:31:42
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:31:48
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:31:48
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:03
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:36
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:26
20:45:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:45:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:31:42
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:31:42
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:31:48
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:31:48
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:03
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:03
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:31:36
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:31:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:37:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:37:26
20:45:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-1
20:45:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:45:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:45:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-2
20:45:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:45:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:45:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-3
20:45:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:45:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:45:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete
node name: R-4
20:45:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:45:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:45:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:47 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Prefix List Out Function
20:45:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-1
20:45:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
20:45:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
20:45:52 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
20:45:55 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.875 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.08 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.880 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.875/0.945/1.080/0.095 ms
20:45:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:45:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-2
20:45:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:45:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
20:46:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
20:46:00 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
20:46:02 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.960 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.989 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.17 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.960/1.040/1.171/0.093 ms
20:46:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-3
20:46:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:46:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:46:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:46:08 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
20:46:10 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=1.09 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.44 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.21 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.094/1.246/1.441/0.144 ms
20:46:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-4
20:46:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:46:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
20:46:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
20:46:16 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
20:46:18 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.988 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.756 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.756/0.921/1.021/0.117 ms
20:46:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:46:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:46:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:46:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:46:24 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
20:46:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:46:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
20:46:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:46:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:46:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:46:29 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:46:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:46:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:46:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:46:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:46:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:46:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:16
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:34:16
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:34:10
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:34:04
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:34:04
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:59
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:33:59
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:33:53
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:09
20:46:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:46:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:16
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:34:16
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:34:10
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:34:04
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:34:04
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:59
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:33:59
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:33:53
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:09
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:09
20:46:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:46:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:46:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:46:40 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:46:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:46:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
20:46:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:46:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:46:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:46:46 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:46:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:46:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:46:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:46:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:46:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:46:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:03
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:33:58
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:33:52
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:33:47
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:33:41
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:33:41
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:34
20:46:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:46:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:34:03
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:33:58
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:33:52
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:33:47
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:33:41
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:33:41
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:34
20:46:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:46:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:46:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:46:56 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
20:46:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:46:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:47 3 5 N/A
Total number of neighbors 1
20:46:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:46:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:46:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:47:02 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:47:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:47:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:47:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:47:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:47:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:47:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:33:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:33:52
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:46
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:41
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:35
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:00
20:47:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:47:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:33:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:33:52
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:46
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:57
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:41
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:35
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:00
20:47:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:47:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:47:13 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:47:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:47:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:56 3 5 N/A
Total number of neighbors 1
20:47:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:47:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:47:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:47:18 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:47:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:47:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:47:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:47:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:47:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:47:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:40
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:33:40
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:33:46
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:33:46
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:34
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:24
20:47:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:47:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:33:40
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:33:40
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:33:46
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:33:46
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:05
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:05
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:33:34
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:33:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:39:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:39:24
20:47:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD -default
node name: R-2
20:47:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:47:29 test_sonic.run_scenario L0244 INFO |
execute command result:
20:47:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:47:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:47:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:47:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:47:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 10 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 15 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 prefix-list PREFIX1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:47:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:47:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 10 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 15 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 prefix-list PREFIX1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:47:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:47:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:47:40 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 10 8 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:47:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:47:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 10 8 7 0 0 00:01:39 2 3 N/A
Total number of neighbors 1
20:47:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:47:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:47:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:47:45 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:47:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:47:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:47:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:47:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:47:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:47:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:35:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:35:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:35:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:35:09
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:25
20:47:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:47:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:35:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:35:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:35:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:35:09
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:25
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:25
20:47:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:47:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:47:56 test_sonic.run_scenario L0244 INFO |
execute command result:
20:47:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:47:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:47:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:47:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:47:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:48:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:48:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:48:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:48:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:48:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:48:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:48:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 10 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:48:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:48:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 10 9 0 0 00:02:06 4 5 N/A
Total number of neighbors 1
20:48:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:48:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:48:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:48:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:48:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:48:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:48:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:48:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:35:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:35:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:35:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:35:36
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:52
20:48:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:48:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:35:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:35:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:35:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:35:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:35:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:35:36
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:45:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:45:52
20:48:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:48:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:48:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:48:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 10 14 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:48:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:48:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 10 14 5 0 0 00:02:23 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:15 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:07 2 5 N/A
Total number of neighbors 3
20:48:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:48:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:48:29 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:48:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:48:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:48:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:48:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:48:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:35:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:35:36
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:33
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:35:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:35:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:35:25
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:18
20:48:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:48:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:35:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:35:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:35:36
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:33
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:35:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:35:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:35:25
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:25
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:18
20:48:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:48:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:48:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:48:40 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:30 3 5 N/A
Total number of neighbors 1
20:48:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:48:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:30 3 5 N/A
Total number of neighbors 1
20:48:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:48:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:48:45 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:48:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:48:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:48:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:48:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:48:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:35:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:35:35
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:35:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:35:24
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:43
20:48:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:48:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:35:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:35:35
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:35:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:40
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:35:24
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:32
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:43
20:48:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:48:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:48:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:48:56 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:39 3 5 N/A
Total number of neighbors 1
20:48:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:48:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:39 3 5 N/A
Total number of neighbors 1
20:48:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:48:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:48:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:49:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:49:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:49:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:49:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:49:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:49:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:49:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:35:23
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:35:23
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:35:29
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:35:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:35:17
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:07
20:49:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:49:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:35:23
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:35:23
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:35:29
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:35:29
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:48
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:48
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:35:17
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:35:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:41:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:41:07
20:49:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge & le
node name: R-2
20:49:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:49:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:49:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:49:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:49:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 prefix-list PREFIX1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:49:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 prefix-list PREFIX1 out
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:49:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:49:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 12 11 0 0 00:03:22 2 3 N/A
Total number of neighbors 1
20:49:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:49:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 12 11 0 0 00:03:22 2 3 N/A
Total number of neighbors 1
20:49:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:49:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:49:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:49:29 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:49:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:49:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:49:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:49:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:49:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:49:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:15
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:15
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:03
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:37:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:58
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:36:58
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:36:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:08
20:49:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:49:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:15
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:15
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:03
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:37:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:58
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:36:58
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:36:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:08
20:49:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:49:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:49:40 test_sonic.run_scenario L0244 INFO |
execute command result:
20:49:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:49:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:49:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:49:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:49:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:49:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:49:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:49:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:49:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:49:51 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 13 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:49:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:49:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 13 13 0 0 00:03:50 4 5 N/A
Total number of neighbors 1
20:49:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:49:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:49:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:49:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:49:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:49:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:49:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:49:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:49:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:50:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:43
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:43
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:37
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:37:31
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:26
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:26
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:37:20
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:36
20:50:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:50:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:43
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:37:43
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:37:37
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:37:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:37:31
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:26
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:37:26
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:37:20
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:36
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:36
20:50:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:50:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:50:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 14 22 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 9 9 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:50:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:50:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 14 22 5 0 0 00:04:06 1 5 N/A
10.1.3.2 4 300 9 9 5 0 0 00:03:58 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:03:50 2 5 N/A
Total number of neighbors 3
20:50:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:50:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:50:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:50:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:50:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:50:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:50:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:50:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:50:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:30
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:37:25
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:37:19
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:37:14
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:37:08
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:37:08
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:01
20:50:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:50:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:37:30
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:37:25
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:37:19
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:16
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:37:14
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:37:08
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:37:08
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:08
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:01
20:50:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:50:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:50:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:14 3 5 N/A
Total number of neighbors 1
20:50:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:50:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:14 3 5 N/A
Total number of neighbors 1
20:50:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:50:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:50:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:50:29 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:50:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:50:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:50:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:50:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:50:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:50:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:37:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:37:19
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:08
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:02
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:27
20:50:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:50:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:37:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:37:19
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:24
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:08
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:37:02
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:27
20:50:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:50:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:50:40 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:50:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:50:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:23 3 5 N/A
Total number of neighbors 1
20:50:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:50:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:50:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:50:45 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:50:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:50:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:50:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:50:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:50:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:50:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:07
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:37:07
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:37:13
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:37:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:01
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:51
20:50:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:50:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:37:07
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:37:07
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:37:13
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:37:13
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:32
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:37:01
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:36:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:42:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:42:51
20:50:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge
node name: R-2
20:50:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:50:56 test_sonic.run_scenario L0244 INFO |
execute command result:
20:50:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:50:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:50:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:50:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:50:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:51:01 test_sonic.run_scenario L0244 INFO |
execute command result:
20:51:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:51:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:51:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:51:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:51:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:51:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 16 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:51:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:51:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 16 15 0 0 00:05:06 2 3 N/A
Total number of neighbors 1
20:51:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:51:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:51:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:51:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:51:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:51:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:51:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:51:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:51:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:51:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:38:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:38:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:38:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:38:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:38:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:38:36
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:52
20:51:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:51:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:38:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:38:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:38:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:38:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:38:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:38:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:38:36
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:52
20:51:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:51:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:51:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:51:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:51:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:51:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:51:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:51:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:51:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:51:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:51:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:51:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:51:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:51:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:51:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:51:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 29 17 17 0 0 00:05:33 4 5 N/A
Total number of neighbors 1
20:51:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:51:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 29 17 17 0 0 00:05:33 4 5 N/A
Total number of neighbors 1
20:51:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:51:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:51:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:51:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:51:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:51:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:51:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:51:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:51:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:51:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:26
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:39:20
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:39:14
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:03
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:19
20:51:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:51:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:26
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:39:20
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:39:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:39:14
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:39:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:39:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:39:03
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:19
20:51:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:51:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:51:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:51:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 17 29 5 0 0 00:05:50 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:42 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:34 2 5 N/A
Total number of neighbors 3
20:51:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:51:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 17 29 5 0 0 00:05:50 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:42 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:34 2 5 N/A
Total number of neighbors 3
20:51:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:51:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:51:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:51:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:51:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:51:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:51:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:51:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:51:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:52:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:14
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:03
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:00
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:38:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:38:52
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:38:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:52
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:52
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:44
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:45
20:52:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:52:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:39:14
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:39:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:39:03
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:00
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:38:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:38:52
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:38:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:52
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:05:52
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:44
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:45
20:52:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:52:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:52:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:52:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 11 5 0 0 00:05:58 3 5 N/A
Total number of neighbors 1
20:52:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:52:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 11 11 5 0 0 00:05:58 3 5 N/A
Total number of neighbors 1
20:52:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:52:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:52:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:52:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:52:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:52:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:52:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:52:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:52:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:52:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:39:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:39:02
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:38:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:07
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:38:51
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:45
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:10
20:52:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:52:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:39:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:39:02
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:38:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:07
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:38:51
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:45
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:05:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:10
20:52:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:52:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:52:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:52:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:07 3 5 N/A
Total number of neighbors 1
20:52:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:52:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:07 3 5 N/A
Total number of neighbors 1
20:52:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:52:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:52:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:52:28 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:52:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:52:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:52:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:52:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:52:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:52:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:38:50
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:38:50
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:38:56
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:38:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:38:44
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:39
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:34
20:52:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:52:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:38:50
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:38:50
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:38:56
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:38:56
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:38:44
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:38:39
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:44:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:44:34
20:52:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - le
node name: R-2
20:52:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:52:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:52:39 test_sonic.run_scenario L0244 INFO |
execute command result:
20:52:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:52:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:52:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:52:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:52:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:52:45 test_sonic.run_scenario L0244 INFO |
execute command result:
20:52:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:52:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:52:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:52:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:52:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:52:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 33 19 19 0 0 00:06:49 2 3 N/A
Total number of neighbors 1
20:52:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:52:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 33 19 19 0 0 00:06:49 2 3 N/A
Total number of neighbors 1
20:52:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:52:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:52:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:52:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:52:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:52:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:52:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:52:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:52:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:53:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:40:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:40:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:19
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:50:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:50:35
20:53:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:53:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:40:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:40:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:40:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:19
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:50:35
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:50:35
20:53:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:53:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:53:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:53:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:53:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:53:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:53:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:53:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:53:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:53:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:53:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:53:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:53:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:53:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:53:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:53:17 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 37 21 21 0 0 00:07:17 4 5 N/A
Total number of neighbors 1
20:53:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:53:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 37 21 21 0 0 00:07:17 4 5 N/A
Total number of neighbors 1
20:53:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:53:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:53:23 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:53:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:53:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:53:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:53:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:53:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:41:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:41:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:41:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:40:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:47
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:03
20:53:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:53:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:41:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:41:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:41:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:40:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:40:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:40:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:40:47
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:03
20:53:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:53:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:53:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:53:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 21 37 5 0 0 00:07:33 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:25 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:17 2 5 N/A
Total number of neighbors 3
20:53:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:53:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 21 37 5 0 0 00:07:33 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:25 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:17 2 5 N/A
Total number of neighbors 3
20:53:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:53:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:53:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:53:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:53:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:53:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:53:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:53:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:40:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:40:46
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:43
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:40:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:40:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:40:35
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:28
20:53:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:53:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:40:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:40:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:40:46
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:43
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:40:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:40:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:40:35
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:35
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:28
20:53:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:53:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:53:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:53:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:41 3 5 N/A
Total number of neighbors 1
20:53:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:53:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:41 3 5 N/A
Total number of neighbors 1
20:53:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:53:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:53:56 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:53:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:53:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:53:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:53:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:53:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:54:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:40:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:40:46
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:40:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:51
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:40:35
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:54
20:54:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:54:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:40:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:40:46
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:40:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:51
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:40:35
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:47:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:47:54
20:54:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:54:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:54:06 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:50 3 5 N/A
Total number of neighbors 1
20:54:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:54:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:50 3 5 N/A
Total number of neighbors 1
20:54:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:54:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:54:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:54:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:54:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:54:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:54:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:54:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:54:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:54:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:40:34
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:40:34
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:40:40
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:40:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:40:28
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:18
20:54:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:54:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:40:34
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:40:34
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:40:40
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:40:40
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:07:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:07:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:40:28
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:40:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:46:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:46:18
20:54:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - Default
node name: R-2
20:54:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:54:23 test_sonic.run_scenario L0244 INFO |
execute command result:
20:54:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:54:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:54:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:54:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:54:28 test_sonic.run_scenario L0244 INFO |
execute command result:
20:54:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:54:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:54:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:54:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:54:34 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 41 23 23 0 0 00:08:33 2 3 N/A
Total number of neighbors 1
20:54:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:54:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 41 23 23 0 0 00:08:33 2 3 N/A
Total number of neighbors 1
20:54:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:54:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:54:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:54:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:54:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:54:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:54:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:54:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:54:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:54:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:26
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:42:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:42:20
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:42:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:42:14
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:03
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:19
20:54:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:54:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:26
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:42:26
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:42:20
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:42:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:42:14
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:09
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:09
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:03
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:19
20:54:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:54:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:54:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:54:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:54:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:54:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:54:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:54:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:54:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:54:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:54:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:54:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:54:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:55:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 44 24 25 0 0 00:09:00 4 5 N/A
Total number of neighbors 1
20:55:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:55:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 44 24 25 0 0 00:09:00 4 5 N/A
Total number of neighbors 1
20:55:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:55:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:55:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:55:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:55:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:55:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:55:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:55:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:42:53
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:42:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:42:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:42:41
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:36
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:36
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:30
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:54
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:46
20:55:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:55:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:42:53
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:42:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:42:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:42:41
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:36
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:42:36
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:42:30
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:54
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:46
20:55:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:55:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:55:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:55:17 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 25 45 5 0 0 00:09:16 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:08 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:00 2 5 N/A
Total number of neighbors 3
20:55:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:55:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 25 45 5 0 0 00:09:16 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:08 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:00 2 5 N/A
Total number of neighbors 3
20:55:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:55:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:55:22 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:55:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:55:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:55:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:55:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:55:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:42:35
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:42:29
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:42:24
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:42:18
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:42:18
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:11
20:55:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:55:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:42:40
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:42:35
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:42:29
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:42:24
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:42:18
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:42:18
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:11
20:55:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:55:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:55:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:55:33 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:24 3 5 N/A
Total number of neighbors 1
20:55:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:55:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:24 3 5 N/A
Total number of neighbors 1
20:55:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:55:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:55:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:55:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:55:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:55:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:55:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:55:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:42:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:42:29
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:42:23
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:34
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:42:18
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:12
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:37
20:55:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:55:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:42:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:42:29
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:42:23
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:34
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:42:18
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:12
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:37
20:55:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:55:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:55:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:55:50 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:33 3 5 N/A
Total number of neighbors 1
20:55:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:55:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:33 3 5 N/A
Total number of neighbors 1
20:55:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:55:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:55:55 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:55:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:55:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:55:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:55:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:55:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:56:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:42:17
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:42:17
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:42:23
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:42:23
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:42
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:42:11
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:01
20:56:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:56:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:42:17
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:42:17
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:42:23
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:42:23
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:42
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:42
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:42:11
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:42:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:48:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:48:01
20:56:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge & le
node name: R-2
20:56:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:56:06 test_sonic.run_scenario L0244 INFO |
execute command result:
20:56:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:56:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:56:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:56:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:56:11 test_sonic.run_scenario L0244 INFO |
execute command result:
20:56:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:56:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:56:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:56:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:56:17 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 49 27 27 0 0 00:10:16 2 3 N/A
Total number of neighbors 1
20:56:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:56:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 49 27 27 0 0 00:10:16 2 3 N/A
Total number of neighbors 1
20:56:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:56:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:56:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:56:22 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:56:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:56:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:56:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:56:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:56:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:56:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:44:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:44:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:43:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:46
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:10
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:02
20:56:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:56:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:44:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:44:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:43:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:43:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:43:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:43:46
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:10
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:02
20:56:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:56:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:56:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:56:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:56:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:56:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:56:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:56:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:56:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:56:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:56:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:56:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:56:44 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 52 28 29 0 0 00:10:43 4 5 N/A
Total number of neighbors 1
20:56:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:56:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 52 28 29 0 0 00:10:43 4 5 N/A
Total number of neighbors 1
20:56:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:56:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:56:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:56:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:56:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:56:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:56:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:56:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:56:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:56:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:36
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:44:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:44:30
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:44:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:44:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:44:19
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:44:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:44:13
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:29
20:56:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:56:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:36
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:44:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:44:30
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:44:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:44:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:44:19
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:44:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:44:13
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:29
20:56:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:56:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:56:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:57:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 28 52 5 0 0 00:11:00 1 5 N/A
10.1.3.2 4 300 16 16 5 0 0 00:10:52 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:44 2 5 N/A
Total number of neighbors 3
20:57:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:57:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 28 52 5 0 0 00:11:00 1 5 N/A
10.1.3.2 4 300 16 16 5 0 0 00:10:52 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:44 2 5 N/A
Total number of neighbors 3
20:57:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:57:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:57:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:57:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:57:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:57:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:57:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:57:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:44:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:44:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:44:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:44:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:44:02
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:02
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:02
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:54
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:55
20:57:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:57:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:44:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:44:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:44:13
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:44:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:44:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:44:02
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:02
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:02
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:54
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:10:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:52:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:52:55
20:57:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:57:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:57:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:57:17 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:08 3 5 N/A
Total number of neighbors 1
20:57:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:57:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:08 3 5 N/A
Total number of neighbors 1
20:57:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:57:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:57:22 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:57:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:57:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:57:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:57:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:57:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:44:12
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:44:12
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:44:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:17
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:44:01
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:55
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:09
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:20
20:57:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:57:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:44:12
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:44:12
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:44:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:17
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:44:01
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:55
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:09
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:20
20:57:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:57:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:57:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:57:33 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:17 3 5 N/A
Total number of neighbors 1
20:57:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:57:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:17 3 5 N/A
Total number of neighbors 1
20:57:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:57:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:57:39 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:57:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:57:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:57:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:57:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:57:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:57:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:44:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:44:00
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:44:06
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:44:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:25
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:43:54
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:44
20:57:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:57:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:44:00
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:44:00
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:44:06
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:44:06
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:25
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:25
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:43:54
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:43:49
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:49:44
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:49:44
20:57:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge
node name: R-2
20:57:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:57:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:57:49 test_sonic.run_scenario L0244 INFO |
execute command result:
20:57:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:57:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:57:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:57:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:57:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:57:55 test_sonic.run_scenario L0244 INFO |
execute command result:
20:57:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:57:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:57:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:57:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:57:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:58:00 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 56 30 31 0 0 00:11:59 2 3 N/A
Total number of neighbors 1
20:58:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:58:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 56 30 31 0 0 00:11:59 2 3 N/A
Total number of neighbors 1
20:58:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:58:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:58:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:58:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:58:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:58:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:58:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:58:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:58:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:58:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:45:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:45:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:45:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:45:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:45:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:45:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:45:29
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:55:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:55:45
20:58:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:58:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:45:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:45:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:45:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:45:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:45:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:45:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:45:29
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:11:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:55:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:55:45
20:58:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:58:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:58:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:58:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:58:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:58:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:58:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
20:58:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:58:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:58:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:58:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:58:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
20:58:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:58:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:58:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:58:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 60 32 33 0 0 00:12:27 4 5 N/A
Total number of neighbors 1
20:58:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:58:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 60 32 33 0 0 00:12:27 4 5 N/A
Total number of neighbors 1
20:58:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:58:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:58:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:58:33 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:58:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:58:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
20:58:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
20:58:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:58:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
20:58:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:46:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:46:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:46:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:46:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:46:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:46:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:46:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:45:57
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:13
20:58:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:58:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:46:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:46:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:46:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:46:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:46:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:46:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:46:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:45:57
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:21
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:13
20:58:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:58:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:58:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
20:58:44 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 32 60 5 0 0 00:12:43 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:35 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:27 2 5 N/A
Total number of neighbors 3
20:58:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
20:58:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 32 60 5 0 0 00:12:43 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:35 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:27 2 5 N/A
Total number of neighbors 3
20:58:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:58:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:58:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:58:49 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:58:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
20:58:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
20:58:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
20:58:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:58:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
20:58:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:46:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:46:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:45:56
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:12:53
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:45:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:45:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:45:45
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:45
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:45
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:37
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:38
20:58:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
20:58:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:46:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:46:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:45:56
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:12:53
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:45:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:45:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:45:45
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:45
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:45
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:37
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:38
20:58:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:58:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:58:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:59:00 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 18 5 0 0 00:12:51 3 5 N/A
Total number of neighbors 1
20:59:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:59:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 18 5 0 0 00:12:51 3 5 N/A
Total number of neighbors 1
20:59:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:59:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:59:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:59:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:59:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
20:59:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
20:59:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
20:59:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:59:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
20:59:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:45:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:45:56
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:45:50
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:01
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:45:45
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:39
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:53:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:53:04
20:59:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
20:59:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:45:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:45:56
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:45:50
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:01
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:45:45
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:39
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:12:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:53:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:53:04
20:59:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:59:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:59:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
20:59:16 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 18 5 0 0 00:13:00 3 5 N/A
Total number of neighbors 1
20:59:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
20:59:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 18 18 5 0 0 00:13:00 3 5 N/A
Total number of neighbors 1
20:59:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:59:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:59:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
20:59:22 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:59:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
20:59:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
20:59:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
20:59:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
20:59:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
20:59:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:45:44
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:45:44
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:45:50
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:45:50
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:09
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:09
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:09
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:45:38
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:28
20:59:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
20:59:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:45:44
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:45:44
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:45:50
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:45:50
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:09
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:09
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:09
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:45:38
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:45:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:51:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:51:28
20:59:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - le
node name: R-2
20:59:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:59:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
20:59:33 test_sonic.run_scenario L0244 INFO |
execute command result:
20:59:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:59:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:59:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list out
node name: R-2
20:59:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:59:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
20:59:38 test_sonic.run_scenario L0244 INFO |
execute command result:
20:59:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
20:59:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
20:59:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:59:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:59:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
20:59:44 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 64 34 35 0 0 00:13:43 2 3 N/A
Total number of neighbors 1
20:59:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
20:59:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 5, using 640 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 64 34 35 0 0 00:13:43 2 3 N/A
Total number of neighbors 1
20:59:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:59:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
20:59:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
20:59:49 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:59:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
20:59:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
20:59:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list out
node name: R-1
20:59:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
20:59:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:59:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:47:36
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:47:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:47:30
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:47:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:47:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:19
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:47:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:47:13
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:37
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:29
20:59:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
20:59:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:47:36
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:47:36
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:47:30
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:47:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:47:24
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:19
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:47:19
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:47:13
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:37
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:37
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:29
20:59:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list out
node name: R-2
20:59:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
20:59:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 prefix-list PREFIX1 out" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
21:00:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:00:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:00:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:00:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-2
21:00:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:00:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:00:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:00:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:00:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:00:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:00:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:00:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:00:11 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 68 36 37 0 0 00:14:10 4 5 N/A
Total number of neighbors 1
21:00:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:00:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 68 36 37 0 0 00:14:10 4 5 N/A
Total number of neighbors 1
21:00:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:00:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:00:16 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:00:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:00:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:00:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:00:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:00:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:48:03
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:48:03
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:47:57
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:47:51
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:47:51
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:46
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:47:46
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:47:40
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:04
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:56
21:00:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:00:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:48:03
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:48:03
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:47:57
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:47:51
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:47:51
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:46
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:47:46
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:47:40
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:04
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:56
21:00:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:00:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:00:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:00:27 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 36 68 5 0 0 00:14:27 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:19 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:11 2 5 N/A
Total number of neighbors 3
21:00:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:00:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 36 68 5 0 0 00:14:27 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:19 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:11 2 5 N/A
Total number of neighbors 3
21:00:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:00:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:00:33 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:00:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:00:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:00:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:00:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:00:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:47:51
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:47:46
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:47:40
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:37
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:47:35
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:47:29
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:47:29
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:29
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:21
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:22
21:00:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:00:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:47:51
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:47:46
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:47:40
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:37
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:47:35
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:47:29
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:47:29
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:29
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:29
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:21
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:21
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:22
21:00:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:00:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:00:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:00:44 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:35 3 5 N/A
Total number of neighbors 1
21:00:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:00:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:35 3 5 N/A
Total number of neighbors 1
21:00:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:00:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:00:49 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:00:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:00:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:00:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:00:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:00:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:00:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:47:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:47:39
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:47:33
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:44
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:47:28
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:22
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:47
21:00:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:00:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:47:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:47:39
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:47:33
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:44
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:47:28
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:22
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:54:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:54:47
21:00:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:00:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:00:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:01:00 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:44 3 5 N/A
Total number of neighbors 1
21:01:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:01:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:44 3 5 N/A
Total number of neighbors 1
21:01:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:01:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:01:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:01:06 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:01:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:01:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:01:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:01:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:01:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:01:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:47:28
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:47:28
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:47:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:47:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:53
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:53
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:53
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:47:22
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:53:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:53:12
21:01:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:01:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:47:28
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:47:28
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:47:34
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:47:34
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:53
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:53
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:14:53
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:47:22
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:47:17
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:53:12
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:53:12
21:01:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-1
21:01:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:01:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:01:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-2
21:01:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:01:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:01:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-3
21:01:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:01:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:01:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-4
21:01:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:01:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:01:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:33 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Prefix List In Function
21:01:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-1
21:01:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "network 10.10.1.0/24" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
21:01:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'network 10.10.1.0/24', 'neighbor 10.1.1.2 remote-as 200']
21:01:38 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
21:01:40 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.971 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.798 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.850 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.798/0.873/0.971/0.072 ms
21:01:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-2
21:01:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
21:01:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 300', 'neighbor 10.1.3.3 remote-as 400']
21:01:46 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
21:01:48 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.486 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.693 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.907 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.486/0.695/0.907/0.171 ms
21:01:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-3
21:01:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
21:01:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 300', 'bgp router-id 10.30.1.1', 'network 10.30.0.0/24', 'network 10.30.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
21:01:54 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
21:01:56 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=1.03 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.935 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.971 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.935/0.978/1.029/0.038 ms
21:01:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:01:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set
node name: R-4
21:01:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:01:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "bgp router-id 10.40.1.1" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
not expect values: []
21:02:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:02:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 400', 'bgp router-id 10.40.1.1', 'network 10.40.0.0/24', 'network 10.40.1.0/24', 'neighbor 10.1.3.1 remote-as 200']
21:02:02 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
21:02:04 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.950 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.03 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.834 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.834/0.938/1.032/0.081 ms
21:02:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
bgp router-id 10.40.1.1
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:02:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:02:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:02:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:02:09 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
21:02:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:02:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 6 6 5 0 0 00:00:23 4 5 N/A
Total number of neighbors 1
21:02:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:02:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:02:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:02:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:02:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:02:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:02:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:02:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:50:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:50:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:49:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:49:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:49:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:49:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:49:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:59:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:59:54
21:02:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:02:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:50:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:50:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:49:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:49:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:49:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:49:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:49:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:59:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:59:54
21:02:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:02:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:02:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:02:26 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
21:02:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:02:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 6 6 5 0 0 00:00:39 1 5 N/A
10.1.3.2 4 300 6 6 5 0 0 00:00:31 2 5 N/A
10.1.3.3 4 400 6 6 5 0 0 00:00:23 2 5 N/A
Total number of neighbors 3
21:02:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:02:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:02:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:02:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:02:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:02:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:02:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:02:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:49:49
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:49:44
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:49:38
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:49:33
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:49:27
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:49:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:20
21:02:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:02:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:49:49
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:49:44
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:49:38
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:49
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:49:33
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:49:27
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:49:27
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:20
21:02:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:02:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:02:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:02:42 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:48 3 5 N/A
Total number of neighbors 1
21:02:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:02:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 6 6 5 0 0 00:00:48 3 5 N/A
Total number of neighbors 1
21:02:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:02:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:02:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:02:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:02:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:02:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:02:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:02:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:03:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:49:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:49:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:49:41
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:49:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:30
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:55
21:03:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:03:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:49:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:49:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:49:41
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:06
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:49:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:30
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:59
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:59
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:56:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:56:55
21:03:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:03:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:03:08 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 7 7 5 0 0 00:01:05 3 5 N/A
Total number of neighbors 1
21:03:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:03:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 7 7 5 0 0 00:01:05 3 5 N/A
Total number of neighbors 1
21:03:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:03:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:03:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:03:13 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:03:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:03:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:03:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:03:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:03:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:03:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:49:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:49:35
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:49:41
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:49:41
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:49:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:55:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:55:19
21:03:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:03:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:49:35
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:49:35
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:49:41
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:49:41
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:01:15
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:15
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:01:15
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:49:29
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:49:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:55:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:55:19
21:03:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD -default
node name: R-1
21:03:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:03:24 test_sonic.run_scenario L0244 INFO |
execute command result:
21:03:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:03:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:03:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:03:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:03:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 10 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 15 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:03:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:03:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 10 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 15 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:03:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:03:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:03:35 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 7 0 0 00:01:48 2 3 N/A
Total number of neighbors 1
21:03:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:03:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 7
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 13 15 7 0 0 00:01:48 2 3 N/A
Total number of neighbors 1
21:03:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:03:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:03:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:03:40 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:03:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:03:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:03:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:03:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:03:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:03:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:27
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:51:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:51:21
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:51:15
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:51:15
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:51:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:51:04
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:42
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:20
21:03:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:03:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:27
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:51:27
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:51:21
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:51:15
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:51:15
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:10
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:51:10
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:51:04
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:42
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:20
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:20
21:03:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:03:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:03:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:03:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:03:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:03:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:03:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:03:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:03:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:03:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:03:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:03:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:03:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:04:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 20 9 0 0 00:02:16 4 5 N/A
Total number of neighbors 1
21:04:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:04:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 9
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 14 20 9 0 0 00:02:16 4 5 N/A
Total number of neighbors 1
21:04:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:04:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:04:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:04:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:04:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 9, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:04:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:04:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:04:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:51:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:51:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:51:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:51:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:51:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:51:31
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:09
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:47
21:04:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:04:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:51:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:51:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:51:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:51:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:51:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:51:31
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:09
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:02:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:47
21:04:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:04:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:04:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:04:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 20 14 5 0 0 00:02:32 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:24 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:16 2 5 N/A
Total number of neighbors 3
21:04:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:04:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 20 14 5 0 0 00:02:32 1 5 N/A
10.1.3.2 4 300 8 8 5 0 0 00:02:24 2 5 N/A
10.1.3.3 4 400 8 8 5 0 0 00:02:16 2 5 N/A
Total number of neighbors 3
21:04:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:04:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:04:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:04:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:04:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:04:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:04:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:04:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:42
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:51:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:51:31
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:51:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:51:20
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:51:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:34
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:13
21:04:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:04:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:51:42
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:51:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:51:31
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:02:42
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:51:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:51:20
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:51:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:34
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:02:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:02:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:13
21:04:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:04:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:04:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:04:35 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:41 3 5 N/A
Total number of neighbors 1
21:04:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:04:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:41 3 5 N/A
Total number of neighbors 1
21:04:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:04:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:04:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:04:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:04:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:04:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:04:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:04:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:51:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:51:31
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:51:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:51:20
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:14
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:39
21:04:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:04:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:51:31
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:51:31
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:51:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:50
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:51:20
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:14
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:43
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:39
21:04:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:04:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:04:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:04:52 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:49 3 5 N/A
Total number of neighbors 1
21:04:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:04:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 8 8 5 0 0 00:02:49 3 5 N/A
Total number of neighbors 1
21:04:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:04:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:04:57 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:04:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:04:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:04:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:04:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:04:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:05:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:51:19
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:51:19
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:51:25
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:51:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:51:13
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:03
21:05:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:05:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:51:19
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:51:19
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:51:25
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:51:25
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:02:59
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:59
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:02:59
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:51:13
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:51:08
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:57:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:57:03
21:05:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD -ge & le
node name: R-1
21:05:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:05:08 test_sonic.run_scenario L0244 INFO |
execute command result:
21:05:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:05:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:05:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:05:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:05:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:05:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:05:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:05:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:05:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:05:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 24 11 0 0 00:03:32 2 3 N/A
Total number of neighbors 1
21:05:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:05:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 11
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 24 11 0 0 00:03:32 2 3 N/A
Total number of neighbors 1
21:05:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:05:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:05:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:05:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:05:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:05:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 11, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:05:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:05:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:05:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:05:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:53:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:53:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:52:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:52:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:52:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:52:48
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:26
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:04
21:05:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:05:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:53:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:53:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:52:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:52:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:52:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:52:48
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:26
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:04
21:05:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:05:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:05:35 test_sonic.run_scenario L0244 INFO |
execute command result:
21:05:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:05:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:05:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:05:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:05:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:05:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:05:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:05:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:05:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:05:46 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 28 13 0 0 00:03:59 4 5 N/A
Total number of neighbors 1
21:05:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:05:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 13
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 15 28 13 0 0 00:03:59 4 5 N/A
Total number of neighbors 1
21:05:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:05:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:05:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:05:52 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:05:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:05:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:05:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:05:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:05:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:05:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:53:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:53:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:53:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:53:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:53:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:53:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:53:15
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:31
21:05:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:05:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:53:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:53:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:53:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:53:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:53:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:53:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:53:15
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:31
21:05:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:05:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:05:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:06:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 29 16 5 0 0 00:04:16 1 5 N/A
10.1.3.2 4 300 10 10 5 0 0 00:04:08 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:04:00 2 5 N/A
Total number of neighbors 3
21:06:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:06:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 29 16 5 0 0 00:04:16 1 5 N/A
10.1.3.2 4 300 10 10 5 0 0 00:04:08 2 5 N/A
10.1.3.3 4 400 9 9 5 0 0 00:04:00 2 5 N/A
Total number of neighbors 3
21:06:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:06:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:06:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:06:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:06:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:06:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:06:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:06:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:53:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:53:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:53:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:53:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:53:04
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:57
21:06:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:06:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:53:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:53:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:53:15
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:04:26
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:53:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:53:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:53:04
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:18
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:04:18
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:04:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:01:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:01:57
21:06:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:06:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:06:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:06:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:24 3 5 N/A
Total number of neighbors 1
21:06:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:06:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:24 3 5 N/A
Total number of neighbors 1
21:06:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:06:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:06:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:06:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:06:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:06:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:06:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:06:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:53:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:53:14
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:53:08
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:53:03
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:57
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:22
21:06:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:06:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:53:14
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:53:14
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:53:08
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:33
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:53:03
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:57
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:26
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:04:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:22
21:06:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:06:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:06:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:06:35 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:32 3 5 N/A
Total number of neighbors 1
21:06:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:06:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 10 10 5 0 0 00:04:32 3 5 N/A
Total number of neighbors 1
21:06:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:06:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:06:40 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:06:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:06:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:06:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:06:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:06:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:06:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:53:02
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:53:02
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:53:08
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:53:08
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:42
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:42
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:42
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:52:56
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:51
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:46
21:06:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:06:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:53:02
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:53:02
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:53:08
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:53:08
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:04:42
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:42
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:04:42
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:52:56
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:52:51
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 00:58:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 00:58:46
21:06:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD -ge
node name: R-1
21:06:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:06:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:06:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:06:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:06:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:06:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:06:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:06:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:06:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:06:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:06:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:06:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:06:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:06:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:07:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 33 15 0 0 00:05:15 2 3 N/A
Total number of neighbors 1
21:07:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:07:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 15
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 33 15 0 0 00:05:15 2 3 N/A
Total number of neighbors 1
21:07:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:07:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:07:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:07:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:07:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:07:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 15, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:07:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:07:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:07:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:07:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:54:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:54:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:54:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:54:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:54:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:54:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:54:31
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:09
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:04:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:04:47
21:07:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:07:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:54:54
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:54:54
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:54:48
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:54:42
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:54:42
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:37
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:54:37
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:54:31
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:09
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:09
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:04:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:04:47
21:07:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:07:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:07:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:07:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:07:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:07:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:07:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:07:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:07:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:07:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:07:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:07:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:07:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:07:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:07:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:07:29 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 37 17 0 0 00:05:43 4 5 N/A
Total number of neighbors 1
21:07:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:07:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 17
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 17 37 17 0 0 00:05:43 4 5 N/A
Total number of neighbors 1
21:07:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:07:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:07:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:07:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:07:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:07:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:07:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:07:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:07:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:07:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:55:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:55:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:55:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:55:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:55:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:55:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:55:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:54:58
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:36
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:14
21:07:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:07:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:55:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:55:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:55:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:55:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:55:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:55:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:55:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:54:58
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:36
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:05:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:14
21:07:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:07:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:07:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:07:46 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 37 17 5 0 0 00:05:59 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:51 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:43 2 5 N/A
Total number of neighbors 3
21:07:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:07:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 37 17 5 0 0 00:05:59 1 5 N/A
10.1.3.2 4 300 11 11 5 0 0 00:05:51 2 5 N/A
10.1.3.3 4 400 11 11 5 0 0 00:05:43 2 5 N/A
Total number of neighbors 3
21:07:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:07:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:07:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:07:51 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:07:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:07:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:07:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:07:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:07:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:07:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:55:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:55:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:54:58
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:09
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:54:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:54:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:54:47
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:01
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:01
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:40
21:07:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:07:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:55:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:55:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:54:58
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:06:09
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:54:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:54:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:54:47
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:01
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:06:01
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:05:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:40
21:07:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:07:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:07:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:08:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:08 3 5 N/A
Total number of neighbors 1
21:08:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:08:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:08 3 5 N/A
Total number of neighbors 1
21:08:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:08:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:08:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:08:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:08:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:08:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:08:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:08:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:08:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:08:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:54:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:54:58
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:54:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:17
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:54:47
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:02:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:02:06
21:08:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:08:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:54:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:54:58
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:54:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:17
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:54:47
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:10
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:06:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:02:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:02:06
21:08:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:08:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:08:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:08:19 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:16 3 5 N/A
Total number of neighbors 1
21:08:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:08:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 12 12 5 0 0 00:06:16 3 5 N/A
Total number of neighbors 1
21:08:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:08:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:08:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:08:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:08:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:08:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:08:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:08:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:08:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:08:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:54:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:54:46
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:54:52
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:54:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:26
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:26
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:26
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:54:40
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:30
21:08:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:08:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:54:46
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:54:46
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:54:52
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:54:52
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:06:26
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:26
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:06:26
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:54:40
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:54:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:00:30
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:00:30
21:08:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - le
node name: R-1
21:08:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:08:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:08:35 test_sonic.run_scenario L0244 INFO |
execute command result:
21:08:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:08:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:08:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:08:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:08:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:08:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:08:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:08:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 5 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 10 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:08:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:08:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:08:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:08:46 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 41 19 0 0 00:06:59 2 3 N/A
Total number of neighbors 1
21:08:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:08:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 19
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 18 41 19 0 0 00:06:59 2 3 N/A
Total number of neighbors 1
21:08:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:08:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:08:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:08:51 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:08:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:08:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 19, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:08:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:08:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:08:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:08:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:56:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:56:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:56:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:56:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:56:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:56:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:56:15
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:06:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:06:31
21:08:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:08:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:56:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:56:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:56:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:56:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:56:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:56:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:56:15
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:53
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:06:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:06:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:06:31
21:08:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:08:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:08:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:09:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:09:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:09:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:09:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:09:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:09:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:09:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:09:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:09:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:09:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:09:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:09:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:09:13 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 46 21 0 0 00:07:26 4 5 N/A
Total number of neighbors 1
21:09:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:09:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 21
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 19 46 21 0 0 00:07:26 4 5 N/A
Total number of neighbors 1
21:09:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:09:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:09:18 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:09:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:09:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 21, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:09:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:09:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:09:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:57:05
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:57:05
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:56:59
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:56:53
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:56:53
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:48
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:56:48
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:56:42
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:20
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:06:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:06:58
21:09:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:09:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:57:05
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:57:05
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:56:59
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:56:53
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:56:53
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:48
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:56:48
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:56:42
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:20
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:07:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:06:58
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:06:58
21:09:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:09:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:09:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:09:29 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 46 19 5 0 0 00:07:42 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:34 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:26 2 5 N/A
Total number of neighbors 3
21:09:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:09:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 46 19 5 0 0 00:07:42 1 5 N/A
10.1.3.2 4 300 13 13 5 0 0 00:07:34 2 5 N/A
10.1.3.3 4 400 13 13 5 0 0 00:07:26 2 5 N/A
Total number of neighbors 3
21:09:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:09:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:09:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:09:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:09:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:09:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:09:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:09:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:56:52
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:56:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:56:41
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:52
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:56:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:56:30
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:56:30
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:44
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:44
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:23
21:09:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:09:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:56:52
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:56:47
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:56:41
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:07:52
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:56:36
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:56:30
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:56:30
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:44
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:07:44
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:07:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:23
21:09:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:09:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:09:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:09:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:51 3 5 N/A
Total number of neighbors 1
21:09:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:09:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:51 3 5 N/A
Total number of neighbors 1
21:09:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:09:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:09:51 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:09:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:09:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:09:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:09:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:09:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:09:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:56:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:56:41
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:56:35
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:00
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:56:30
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:24
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:49
21:09:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:09:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:56:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:56:41
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:56:35
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:00
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:56:30
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:24
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:53
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:07:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:49
21:09:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:09:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:09:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:10:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:59 3 5 N/A
Total number of neighbors 1
21:10:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:10:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 13 13 5 0 0 00:07:59 3 5 N/A
Total number of neighbors 1
21:10:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:10:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:10:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:10:07 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:10:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:10:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:10:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:10:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:10:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:10:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:56:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:56:29
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:56:35
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:56:35
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:09
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:09
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:09
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:56:23
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:02:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:02:13
21:10:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:10:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:56:29
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:56:29
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:56:35
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:56:35
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:08:09
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:09
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:08:09
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:56:23
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:56:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:02:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:02:13
21:10:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - Default
node name: R-1
21:10:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24" \\\n-c "ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:10:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:10:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:10:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:10:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:10:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:10:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:10:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:10:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/24
ip prefix-list PREFIX1 seq 2 deny 10.30.1.0/24
ip prefix-list PREFIX1 seq 3 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:10:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:10:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:10:29 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 50 23 0 0 00:08:42 2 3 N/A
Total number of neighbors 1
21:10:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:10:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 23
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 20 50 23 0 0 00:08:42 2 3 N/A
Total number of neighbors 1
21:10:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:10:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:10:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:10:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:10:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:10:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 23, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:10:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:10:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:10:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:10:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:58:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:58:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:58:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:58:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:58:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:57:58
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:36
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:14
21:10:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:10:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:58:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:58:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:58:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:58:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:58:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:57:58
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:36
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:08:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:14
21:10:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:10:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:10:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:10:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:10:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:10:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:10:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:10:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:10:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:10:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:10:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:10:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:10:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:10:56 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 55 25 0 0 00:09:09 4 5 N/A
Total number of neighbors 1
21:10:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:10:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 25
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 21 55 25 0 0 00:09:09 4 5 N/A
Total number of neighbors 1
21:10:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:10:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:10:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:11:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:11:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:11:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:11:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:11:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:11:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:58:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:58:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:58:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:58:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:58:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:58:25
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:03
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:41
21:11:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:11:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 00:58:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:58:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:58:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:58:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:58:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:58:25
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:03
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:09:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:41
21:11:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:11:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:11:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:11:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 55 21 5 0 0 00:09:26 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:18 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:10 2 5 N/A
Total number of neighbors 3
21:11:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:11:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 55 21 5 0 0 00:09:26 1 5 N/A
10.1.3.2 4 300 15 15 5 0 0 00:09:18 2 5 N/A
10.1.3.3 4 400 15 15 5 0 0 00:09:10 2 5 N/A
Total number of neighbors 3
21:11:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:11:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:11:18 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:11:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:11:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:11:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:11:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:11:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:58:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:58:25
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:36
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:58:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:58:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:58:14
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:28
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:28
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:07
21:11:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:11:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 00:58:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 00:58:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 00:58:25
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:09:36
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 00:58:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:58:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:58:14
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:28
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:09:28
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:09:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:07
21:11:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:11:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:11:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:11:29 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:35 3 5 N/A
Total number of neighbors 1
21:11:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:11:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:35 3 5 N/A
Total number of neighbors 1
21:11:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:11:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:11:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:11:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:11:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:11:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:11:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:11:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:58:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:58:24
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:58:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:43
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:58:13
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:07
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:32
21:11:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:11:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 00:58:24
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 00:58:24
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:58:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:43
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:58:13
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:07
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:36
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:09:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:32
21:11:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:11:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:11:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:11:45 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:42 3 5 N/A
Total number of neighbors 1
21:11:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:11:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 15 15 5 0 0 00:09:42 3 5 N/A
Total number of neighbors 1
21:11:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:11:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:11:50 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:11:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:11:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:11:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:11:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:11:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:11:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:58:12
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:58:12
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:58:18
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:58:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:52
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:52
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:58:06
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:56
21:11:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:11:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:58:12
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:58:12
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 00:58:18
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 00:58:18
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:09:52
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:52
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:09:52
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:58:06
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:58:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:03:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:03:56
21:11:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge & le
node name: R-1
21:11:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:11:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:12:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:12:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:12:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:12:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:12:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:12:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:12:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:12:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:12:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:12:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:12:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 59 27 0 0 00:10:25 2 3 N/A
Total number of neighbors 1
21:12:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:12:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 27
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 59 27 0 0 00:10:25 2 3 N/A
Total number of neighbors 1
21:12:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:12:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:12:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:12:18 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:12:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:12:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 27, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:12:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:12:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:12:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:12:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:00:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:59:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:59:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:59:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:59:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:59:41
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:19
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:09:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:09:57
21:12:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:12:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:04
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:00:04
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 00:59:58
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 00:59:52
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 00:59:52
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:47
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 00:59:47
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 00:59:41
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:19
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:19
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:09:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:09:57
21:12:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:12:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:12:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:12:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:12:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:12:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:12:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:12:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:12:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:12:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:12:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:12:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:12:39 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 63 29 0 0 00:10:53 4 5 N/A
Total number of neighbors 1
21:12:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:12:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 29
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 22 63 29 0 0 00:10:53 4 5 N/A
Total number of neighbors 1
21:12:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:12:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:12:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:12:45 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:12:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:12:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 29, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:12:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:12:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:12:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:12:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:00:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:00:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:00:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:00:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:00:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:00:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:00:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:24
21:12:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:12:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:00:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:00:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:00:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:00:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:00:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:00:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:00:08
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:10:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:24
21:12:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:12:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:12:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:12:56 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 64 23 5 0 0 00:11:09 1 5 N/A
10.1.3.2 4 300 17 17 5 0 0 00:11:01 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:53 2 5 N/A
Total number of neighbors 3
21:12:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:12:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 64 23 5 0 0 00:11:09 1 5 N/A
10.1.3.2 4 300 17 17 5 0 0 00:11:01 2 5 N/A
10.1.3.3 4 400 16 16 5 0 0 00:10:53 2 5 N/A
Total number of neighbors 3
21:12:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:12:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:12:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:13:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:13:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:13:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:13:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:13:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:13:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:13:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:19
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:00:14
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:00:08
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:19
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:00:03
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:59:57
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:59:57
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:50
21:13:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:13:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:00:19
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:00:14
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:00:08
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:11:19
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:00:03
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 00:59:57
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 00:59:57
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:11:11
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:11:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:50
21:13:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:13:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:13:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:13:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:18 3 5 N/A
Total number of neighbors 1
21:13:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:13:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:18 3 5 N/A
Total number of neighbors 1
21:13:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:13:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:13:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:13:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:13:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:13:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:13:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:13:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:13:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:13:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:00:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:00:08
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:00:02
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:27
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:59:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:51
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:16
21:13:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:13:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:00:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:00:08
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:00:02
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:27
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 00:59:57
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:51
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:11:20
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:16
21:13:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:13:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:13:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:13:28 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:26 3 5 N/A
Total number of neighbors 1
21:13:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:13:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 17 17 5 0 0 00:11:26 3 5 N/A
Total number of neighbors 1
21:13:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:13:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:13:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:13:34 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:13:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:13:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:13:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:13:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:13:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:13:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:59:56
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:59:56
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:00:02
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:00:02
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:59:50
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:40
21:13:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:13:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 00:59:56
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 00:59:56
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:00:02
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:00:02
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:11:36
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:11:36
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 00:59:50
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 00:59:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:05:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:05:40
21:13:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge
node name: R-1
21:13:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:13:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:13:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:13:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:13:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:13:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:13:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:13:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:13:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:13:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:13:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 ge 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:13:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:13:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:13:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:13:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 68 31 0 0 00:12:09 2 3 N/A
Total number of neighbors 1
21:13:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:13:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 31
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 68 31 0 0 00:12:09 2 3 N/A
Total number of neighbors 1
21:13:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:13:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:13:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:14:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:14:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:14:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 31, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:14:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:14:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:14:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:14:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:01:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:01:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:01:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:01:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:01:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:01:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:01:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:02
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:11:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:11:40
21:14:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:14:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:01:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:01:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:01:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:01:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:01:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:01:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:01:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:02
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:11:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:11:40
21:14:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:14:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:14:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:14:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:14:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:14:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:14:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:14:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:14:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:14:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:14:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:14:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:14:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:14:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:14:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:14:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 72 33 0 0 00:12:36 4 5 N/A
Total number of neighbors 1
21:14:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:14:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 33
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 24 72 33 0 0 00:12:36 4 5 N/A
Total number of neighbors 1
21:14:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:14:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:14:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:14:28 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:14:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:14:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 33, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:14:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:14:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:14:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:14:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:02:15
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:02:15
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:02:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:02:03
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:02:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:58
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:01:58
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:01:52
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:12:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:12:08
21:14:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:14:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:02:15
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:02:15
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:02:09
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:02:03
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:02:03
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:58
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:01:58
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:01:52
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:12:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:12:08
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:12:08
21:14:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:14:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:14:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:14:39 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 72 24 5 0 0 00:12:52 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:44 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:36 2 5 N/A
Total number of neighbors 3
21:14:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:14:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 72 24 5 0 0 00:12:52 1 5 N/A
10.1.3.2 4 300 18 18 5 0 0 00:12:44 2 5 N/A
10.1.3.3 4 400 18 18 5 0 0 00:12:36 2 5 N/A
Total number of neighbors 3
21:14:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:14:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:14:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:14:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:14:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:14:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:14:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:14:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:14:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:14:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:02:02
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:01:57
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:01:51
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:02
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:01:46
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:01:40
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:01:40
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:54
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:54
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:46
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:33
21:14:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:14:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:02:02
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:01:57
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:01:51
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:13:02
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:01:46
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:01:40
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:01:40
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:54
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:12:54
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:46
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:12:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:33
21:14:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:14:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:14:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:14:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:01 3 5 N/A
Total number of neighbors 1
21:14:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:14:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:01 3 5 N/A
Total number of neighbors 1
21:14:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:14:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:14:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:15:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:15:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:15:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:15:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:15:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:15:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:15:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:01:51
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:01:51
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:01:45
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:10
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 01:01:40
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:59
21:15:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:15:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:01:51
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:01:51
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:01:45
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:10
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 01:01:40
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:34
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:13:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:08:59
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:08:59
21:15:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:15:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:15:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:09 3 5 N/A
Total number of neighbors 1
21:15:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:15:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 19 19 5 0 0 00:13:09 3 5 N/A
Total number of neighbors 1
21:15:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:15:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:15:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:15:17 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:15:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:15:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:15:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:15:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:15:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:15:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:01:39
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 01:01:39
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:01:45
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:01:45
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:19
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 01:01:33
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:23
21:15:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:15:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:01:39
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 01:01:39
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:01:45
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:01:45
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:13:19
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:13:19
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 01:01:33
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 01:01:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:07:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:07:23
21:15:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - le
node name: R-1
21:15:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:15:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:15:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:15:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:15:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set prefix-list in
node name: R-1
21:15:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "neighbor 10.1.1.2 soft-reconfiguration inbound" \\\n-c "do show running-config" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:15:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:15:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:15:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list PREFIX1 seq 1 deny 10.30.0.0/23 le 24
ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 prefix-list PREFIX1 in
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:15:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:15:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:15:39 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 25 76 35 0 0 00:13:52 2 3 N/A
Total number of neighbors 1
21:15:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:15:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 35
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 25 76 35 0 0 00:13:52 2 3 N/A
Total number of neighbors 1
21:15:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:15:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']]
sub scenario not expect values: [['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']]
sub scenario retries: 10
sub scenario delay: 10
21:15:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
not expect values: ['*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i']
21:15:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:15:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 3 routes and 3 total paths']
21:15:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 35, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 3 routes and 3 total paths
21:15:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification prefix-list in
node name: R-1
21:15:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 10
sub scenario delay: 10
21:15:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:15:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:03:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:03:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:03:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:03:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:03:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:03:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:13:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:13:24
21:15:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:15:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:03:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:03:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:03:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:03:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:03:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:03:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:13:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:13:24
21:15:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete prefix-list in
node name: R-1
21:15:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.2 prefix-list PREFIX1 in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft in"\n'}
expect values: []
not expect values: []
21:15:55 test_sonic.run_scenario L0244 INFO |
execute command result:
21:15:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:15:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:15:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-1
21:15:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:15:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:16:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:16:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:16:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
neighbor 10.1.1.2 soft-reconfiguration inbound
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:16:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:16:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:16:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', 'Total number of neighbors 1']
not expect values: []
21:16:06 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 81 37 0 0 00:14:19 4 5 N/A
Total number of neighbors 1
21:16:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', 'Total number of neighbors 1']
21:16:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 37
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 26 81 37 0 0 00:14:19 4 5 N/A
Total number of neighbors 1
21:16:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:16:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:16:12 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:16:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 0.0.0.0 0 32768 i', '*> 10.30.0.0/24 10.1.1.2 0 200 300 i', '*> 10.30.1.0/24 10.1.1.2 0 200 300 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:16:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 37, local router ID is 10.10.1.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
21:16:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-1
21:16:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
21:16:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:03:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:03:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:03:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:03:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:03:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:03:35
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:13:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:13:51
21:16:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
21:16:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:03:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:03:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:03:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:03:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:03:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:03:35
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:14:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:13:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:13:51
21:16:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:16:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:16:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
not expect values: []
21:16:23 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 81 26 5 0 0 00:14:36 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:28 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:20 2 5 N/A
Total number of neighbors 3
21:16:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 300', '10.1.3.3 4 400', 'Total number of neighbors 3']
21:16:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 81 26 5 0 0 00:14:36 1 5 N/A
10.1.3.2 4 300 20 20 5 0 0 00:14:28 2 5 N/A
10.1.3.3 4 400 20 20 5 0 0 00:14:20 2 5 N/A
Total number of neighbors 3
21:16:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:16:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:16:28 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:16:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.1.1 0 0 100 i', '*> 10.30.0.0/24 10.1.3.2 0 0 300 i', '*> 10.30.1.0/24 10.1.3.2 0 0 300 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 5 routes and 5 total paths']
21:16:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.20.1.1, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.1.1 0 0 100 i
*> 10.30.0.0/24 10.1.3.2 0 0 300 i
*> 10.30.1.0/24 10.1.3.2 0 0 300 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
21:16:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-2
21:16:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
21:16:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:03:41
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:03:35
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:03:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:03:24
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:03:24
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:12:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:12:17
21:16:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
21:16:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:03:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:03:41
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:03:35
B>* 10.10.1.0/24 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:14:46
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:03:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:03:24
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:03:24
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:14:38
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:14:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:12:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:12:17
21:16:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:16:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:16:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:16:39 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
21:16:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:16:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:45 3 5 N/A
Total number of neighbors 1
21:16:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:16:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:16:44 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:16:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*> 10.40.0.0/24 10.1.3.3 0 200 400 i', '*> 10.40.1.0/24 10.1.3.3 0 200 400 i', 'Displayed 5 routes and 5 total paths']
21:16:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.30.1.1, vrf id 0
Default local pref 100, local AS 300
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*> 10.40.0.0/24 10.1.3.3 0 200 400 i
*> 10.40.1.0/24 10.1.3.3 0 200 400 i
Displayed 5 routes and 5 total paths
21:16:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-3
21:16:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
not expect values: []
21:16:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:03:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:03:34
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:03:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:53
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 01:03:23
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:46
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:42
21:16:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
21:16:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 01:03:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 01:03:34
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:03:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:14:53
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 01:03:23
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:17
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:46
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:14:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:10:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:10:42
21:16:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:16:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:16:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.3.1 4 200', 'Total number of neighbors 1']
not expect values: []
21:16:55 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:53 3 5 N/A
Total number of neighbors 1
21:16:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200', 'Total number of neighbors 1']
21:16:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.40.1.1, local AS number 400 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 20 20 5 0 0 00:14:53 3 5 N/A
Total number of neighbors 1
21:16:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:16:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:16:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
not expect values: []
21:17:01 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:17:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.10.1.0/24 10.1.3.1 0 200 100 i', '*> 10.30.0.0/24 10.1.3.2 0 200 300 i', '*> 10.30.1.0/24 10.1.3.2 0 200 300 i', '*> 10.40.0.0/24 0.0.0.0 0 32768 i', '*> 10.40.1.0/24 0.0.0.0 0 32768 i', 'Displayed 5 routes and 5 total paths']
21:17:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.40.1.1, vrf id 0
Default local pref 100, local AS 400
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.10.1.0/24 10.1.3.1 0 200 100 i
*> 10.30.0.0/24 10.1.3.2 0 200 300 i
*> 10.30.1.0/24 10.1.3.2 0 200 300 i
*> 10.40.0.0/24 0.0.0.0 0 32768 i
*> 10.40.1.0/24 0.0.0.0 0 32768 i
Displayed 5 routes and 5 total paths
21:17:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Verification
node name: R-4
21:17:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
21:17:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
not expect values: []
21:17:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:03:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 01:03:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:03:28
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:03:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:02
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:02
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:02
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 01:03:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:09:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:09:06
21:17:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8']
21:17:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 01:03:22
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 01:03:22
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 01:03:28
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 01:03:28
B>* 10.10.1.0/24 [20/0] via 10.1.3.1, Ethernet8, weight 1, 00:15:02
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:02
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet8, weight 1, 00:15:02
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 01:03:16
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 01:03:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:09:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:09:06
21:17:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-1
21:17:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:17:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:17:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-2
21:17:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:17:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:17:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-3
21:17:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:17:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:17:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Delete
node name: R-4
21:17:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:17:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:17:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:28 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute Static By RouteMap - match ip address Function
21:17:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-1
21:17:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']
not expect values: []
21:17:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']
21:17:33 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
21:17:36 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.757 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.882 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.01 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2035ms
rtt min/avg/max/mdev = 0.757/0.884/1.014/0.104 ms
21:17:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-2
21:17:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
21:17:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
21:17:41 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
21:17:43 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.724 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.663 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.777 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2040ms
rtt min/avg/max/mdev = 0.663/0.721/0.777/0.046 ms
21:17:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-3
21:17:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.10.10.7/32 10.1.3.1" \\\n-c "ip route 10.10.10.8/32 10.1.3.1" \\\n-c "ip route 10.10.10.9/32 10.1.3.1" \\\n-c "ip route 10.10.10.10/32 10.1.3.1" \\\n-c "ip route 10.10.10.11/32 10.1.3.1" \\\n-c "ip route 10.10.10.12/32 10.1.3.1" \\\n-c "ip route 11.11.11.7/32 10.30.0.2" \\\n-c "ip route 11.11.11.8/32 10.30.0.2" \\\n-c "ip route 11.11.11.9/32 10.30.0.2" \\\n-c "ip route 12.12.12.7/32 10.30.1.2" \\\n-c "ip route 12.12.12.8/32 10.30.1.2" \\\n-c "ip route 12.12.12.9/32 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.10.10.7/32 10.1.3.1" \\\n-c "ip route 10.10.10.8/32 10.1.3.1" \\\n-c "ip route 10.10.10.9/32 10.1.3.1" \\\n-c "ip route 10.10.10.10/32 10.1.3.1" \\\n-c "ip route 10.10.10.11/32 10.1.3.1" \\\n-c "ip route 10.10.10.12/32 10.1.3.1" \\\n-c "ip route 11.11.11.7/32 10.30.0.2" \\\n-c "ip route 11.11.11.8/32 10.30.0.2" \\\n-c "ip route 11.11.11.9/32 10.30.0.2" \\\n-c "ip route 12.12.12.7/32 10.30.1.2" \\\n-c "ip route 12.12.12.8/32 10.30.1.2" \\\n-c "ip route 12.12.12.9/32 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
not expect values: []
21:17:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
21:17:49 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
21:17:51 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.923 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.957 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.880 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.880/0.920/0.957/0.031 ms
21:17:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:17:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-1
21:17:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
21:17:57 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:15 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:07 0 0 N/A
Total number of neighbors 2
21:17:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
21:17:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:15 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:07 0 0 N/A
Total number of neighbors 2
21:17:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-2
21:17:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:17:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
21:18:02 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
21:18:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
21:18:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
21:18:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-3
21:18:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.9 4 100', 'Total number of neighbors 1']
not expect values: []
21:18:07 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:17 0 0 N/A
Total number of neighbors 1
21:18:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', 'Total number of neighbors 1']
21:18:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:17 0 0 N/A
Total number of neighbors 1
21:18:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip address
node name: R-3
21:18:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:18:13 test_sonic.run_scenario L0244 INFO |
execute command result:
21:18:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:18:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:18:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D 0.0.0.0
node name: R-3
21:18:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.9 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.10 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.11 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.9 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.10 0.0.0.0" \\\n-c "access-list 1 deny 10.10.10.11 0.0.0.0" \\\n-c "access-list 1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:18:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address 1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.10.10.8 0.0.0.0
access-list 1 seq 10 deny 10.10.10.9 0.0.0.0
access-list 1 seq 15 deny 10.10.10.10 0.0.0.0
access-list 1 seq 20 deny 10.10.10.11 0.0.0.0
access-list 1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:18:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:18:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address 1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.10.10.8 0.0.0.0
access-list 1 seq 10 deny 10.10.10.9 0.0.0.0
access-list 1 seq 15 deny 10.10.10.10 0.0.0.0
access-list 1 seq 20 deny 10.10.10.11 0.0.0.0
access-list 1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:18:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:18:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:18:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address 1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.10.10.8 0.0.0.0
access-list 1 seq 10 deny 10.10.10.9 0.0.0.0
access-list 1 seq 15 deny 10.10.10.10 0.0.0.0
access-list 1 seq 20 deny 10.10.10.11 0.0.0.0
access-list 1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:18:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:18:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address 1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 deny 10.10.10.8 0.0.0.0
access-list 1 seq 10 deny 10.10.10.9 0.0.0.0
access-list 1 seq 15 deny 10.10.10.10 0.0.0.0
access-list 1 seq 20 deny 10.10.10.11 0.0.0.0
access-list 1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:18:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:18:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:18:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:18:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:05:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:05:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:05:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:05:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:05:48
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:04
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:04
21:18:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:18:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:05:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:05:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:05:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:05:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:05:48
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:04
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:04
21:18:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:18:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:18:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:18:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:05:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:05:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:05:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:05:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:05:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:05:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:14:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:14:18
21:18:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:18:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:05:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:05:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:05:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:05:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:05:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:05:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:14:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:14:18
21:18:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:18:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:18:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:18:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:18:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:18:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:18:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:18:46 test_sonic.run_scenario L0244 INFO |
execute command result:
21:18:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:18:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:18:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:18:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:18:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:18:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:06:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:06:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:06:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:06:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:06:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:25
21:18:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:18:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:06:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:06:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:06:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:06:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:06:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:25
21:18:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:18:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:18:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:18:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:06:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:05:58
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:05:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:05:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:05:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:14:40
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:14:40
21:18:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:18:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:09
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:06:04
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:05:58
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:05:53
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:05:47
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:05:47
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:14:40
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:14:40
21:18:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:18:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:18:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:19:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:19:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:13 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:19:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:19:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:19:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:06:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:06:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:06:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:06:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:06:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:52
21:19:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:19:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:06:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:06:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:06:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:06:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:06:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:06:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:06:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:52
21:19:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:19:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:19:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:19:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:06:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:06:25
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:06:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:06:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:06:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:15:07
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:15:07
21:19:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:19:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:06:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:06:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:06:25
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:06:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:06:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:06:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:15:07
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:15:07
21:19:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:19:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:19:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RouteMap and Redistribute Metric Set - 01 - Set metric
node name: R-3
21:19:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:19:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:19:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:19:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:19:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:19:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:19:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:19:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:19:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:07:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:07:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:07:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:07:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:07:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:07:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:07:09
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:25
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:25
21:19:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:19:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:07:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:07:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:07:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:07:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:07:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:07:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:07:09
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:25
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:25
21:19:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:19:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:19:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:19:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:07:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:06:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:06:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:06:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:06:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:15:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:15:39
21:19:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:19:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:07:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:06:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:06:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:06:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:06:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:15:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:15:39
21:19:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:19:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:19:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:20:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:20:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D A.B.C.D
node name: R-3
21:20:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8 0.0.0.3" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8 0.0.0.3" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:20:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:20:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:20:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:20:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:07:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:07:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:07:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:07:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:07:47
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:03
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:03
21:20:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:20:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:07:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:07:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:07:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:07:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:07:47
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:03
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:03
21:20:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:20:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:20:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:20:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:07:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:07:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:07:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:07:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:07:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:18
21:20:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:20:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:07:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:07:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:07:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:07:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:07:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:07:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:18
21:20:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:20:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:20:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:20:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:20:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:20:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:20:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:20:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:20:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:20:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:08:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:08:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:08:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:08:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:08:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:25
21:20:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:20:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:08:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:08:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:08:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:08:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:08:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:25
21:20:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:20:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:20:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:20:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:08:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:07:57
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:07:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:07:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:07:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:39
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:39
21:20:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:20:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:08:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:07:57
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:07:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:07:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:07:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:16:39
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:16:39
21:20:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:20:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:20:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:21:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:21:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:21:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:21:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:21:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:08:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:08:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:08:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:08:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:08:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:52
21:21:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:21:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:08:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:08:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:08:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:08:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:08:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:08:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:08:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:52
21:21:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:21:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:21:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:21:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:08:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:08:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:08:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:08:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:08:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:06
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:06
21:21:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:21:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:08:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:08:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:08:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:08:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:08:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:08:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:06
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:06
21:21:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:21:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:21:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:21:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:39 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:21:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:21:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:21:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:21:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:21:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:21:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:21:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:21:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:09:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:09:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:09:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:09:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:09:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:09:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:09:09
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:25
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:25
21:21:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:21:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:09:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:09:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:09:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:09:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:09:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:09:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:09:09
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:25
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:25
21:21:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:21:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:21:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:21:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:09:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:08:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:08:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:08:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:08:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:39
21:21:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:21:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:09:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:08:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:08:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:08:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:08:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:17:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:17:39
21:21:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:21:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:21:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:22:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:22:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D
node name: R-3
21:22:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8" \\\n-c "access-list 1 deny 10.10.10.9" \\\n-c "access-list 1 deny 10.10.10.10" \\\n-c "access-list 1 deny 10.10.10.11" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny 10.10.10.8" \\\n-c "access-list 1 deny 10.10.10.9" \\\n-c "access-list 1 deny 10.10.10.10" \\\n-c "access-list 1 deny 10.10.10.11" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:22:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:22:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:22:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:22:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:09:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:09:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:09:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:09:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:09:47
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:03
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:03
21:22:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:22:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:09:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:09:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:09:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:09:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:09:47
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:03
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:03
21:22:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:22:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:22:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:22:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:09:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:09:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:09:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:09:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:09:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:18
21:22:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:22:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:09:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:09:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:09:36
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:09:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:09:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:09:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:18
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:18
21:22:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:22:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:22:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:22:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:22:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:22:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:22:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:22:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:22:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:22:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:10:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:10:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:10:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:10:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:10:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:25
21:22:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:22:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:32
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:32
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:26
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:10:20
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:10:20
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:10:15
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:10:15
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:10:09
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:25
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:25
21:22:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:22:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:22:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:22:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:10:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:09:57
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:09:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:09:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:09:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:39
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:39
21:22:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:22:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:10:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:09:57
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:09:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:09:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:09:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:18:39
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:18:39
21:22:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:22:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:22:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:23:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:23:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:23:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:23:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:23:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:10:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:10:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:10:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:10:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:10:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:52
21:23:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:23:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:10:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:10:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:10:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:10:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:10:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:10:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:10:36
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:52
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:52
21:23:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:23:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:23:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:23:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:10:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:10:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:10:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:10:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:10:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:06
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:06
21:23:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:23:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:10:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:10:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:10:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:10:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:10:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:10:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:06
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:06
21:23:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:23:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:23:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:23:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:39 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:23:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:23:45 test_sonic.run_scenario L0244 INFO |
execute command result:
21:23:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:23:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:23:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:23:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:23:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:23:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:11:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:11:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:11:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:11:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:11:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:11:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:11:08
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:24
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:24
21:23:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:23:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:11:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:11:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:11:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:11:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:11:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:11:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:11:08
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:24
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:24
21:23:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:23:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:23:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:23:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:11:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:10:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:10:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:10:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:10:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:39
21:23:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:23:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:11:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:10:57
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:10:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:10:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:10:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:19:39
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:19:39
21:23:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:23:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:23:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:24:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:24:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny host A.B.C.D
node name: R-3
21:24:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.10.10.8" \\\n-c "access-list 1 deny host 10.10.10.9" \\\n-c "access-list 1 deny host 10.10.10.10" \\\n-c "access-list 1 deny host 10.10.10.11" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 deny host 10.10.10.8" \\\n-c "access-list 1 deny host 10.10.10.9" \\\n-c "access-list 1 deny host 10.10.10.10" \\\n-c "access-list 1 deny host 10.10.10.11" \\\n-c "access-list 1 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:17 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:24:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:24:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:24:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:24:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:12:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:12:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:11:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:11:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:11:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:11:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:11:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:02
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:02
21:24:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:24:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:12:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:12:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:11:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:11:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:11:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:11:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:11:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:02
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:02
21:24:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:24:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:24:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:24:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:11:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:11:45
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:11:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:11:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:11:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:27
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:27
21:24:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:24:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:11:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:11:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:11:45
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:11:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:11:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:11:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:27
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:27
21:24:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:24:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:50 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:24:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:24:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:24:55 test_sonic.run_scenario L0244 INFO |
execute command result:
21:24:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:24:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:24:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:24:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:24:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:25:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:12:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:12:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:12:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:12:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:12:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:12:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:12:19
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:35
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:35
21:25:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:25:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:12:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:12:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:12:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:12:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:12:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:12:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:12:19
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:35
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:35
21:25:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:25:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:25:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:25:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:12:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:12:07
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:12:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:11:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:11:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:49
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:49
21:25:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:25:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:12:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:12:07
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:12:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:11:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:11:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:20:49
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:20:49
21:25:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:25:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:11 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:25:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:17 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:25:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:22 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:25:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:25:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:25:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:13:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:13:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:12:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:12:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:12:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:12:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:12:46
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:02
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:02
21:25:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:25:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:13:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:13:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:12:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:12:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:12:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:12:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:12:46
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:02
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:02
21:25:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:25:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:25:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:25:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:12:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:12:34
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:12:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:12:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:12:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:16
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:16
21:25:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:25:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:12:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:12:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:12:34
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:12:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:12:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:12:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:16
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:16
21:25:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:25:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:39 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:25:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:44 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:25:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:49 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:25:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:25:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:25:55 test_sonic.run_scenario L0244 INFO |
execute command result:
21:25:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:25:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:25:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:25:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:25:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:26:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:13:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:13:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:13:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:13:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:13:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:13:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:13:19
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:35
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:35
21:26:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:26:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:42
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:13:42
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:13:36
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:13:30
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:13:30
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:13:25
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:13:25
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:13:19
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:35
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:35
21:26:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:26:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:26:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:26:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:13:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:13:07
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:13:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:12:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:12:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:49
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:49
21:26:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:26:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:13:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:13:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:13:07
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:13:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:12:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:12:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:21:49
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:21:49
21:26:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:26:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:26:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:17 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:26:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
21:26:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-3
21:26:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address standard1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address standard1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D 0.0.0.0
node name: R-3
21:26:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.9 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.10 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.11 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.9 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.10 0.0.0.0" \\\n-c "access-list standard1 deny 10.10.10.11 0.0.0.0" \\\n-c "access-list standard1 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address standard1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.10.10.8 0.0.0.0
access-list standard1 seq 10 deny 10.10.10.9 0.0.0.0
access-list standard1 seq 15 deny 10.10.10.10 0.0.0.0
access-list standard1 seq 20 deny 10.10.10.11 0.0.0.0
access-list standard1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:26:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip address standard1
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 deny 10.10.10.8 0.0.0.0
access-list standard1 seq 10 deny 10.10.10.9 0.0.0.0
access-list standard1 seq 15 deny 10.10.10.10 0.0.0.0
access-list standard1 seq 20 deny 10.10.10.11 0.0.0.0
access-list standard1 seq 25 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:26:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:26:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:26:44 test_sonic.run_scenario L0244 INFO |
execute command result:
21:26:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:26:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:26:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:26:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:26:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:26:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:14:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:14:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:14:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:14:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:14:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:14:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:08
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:24
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:24
21:26:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:26:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:14:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:14:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:14:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:14:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:14:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:14:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:08
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:24
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:24
21:26:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:26:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:26:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:26:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:13:57
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:13:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:13:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:39
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:39
21:26:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:26:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:08
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:03
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:13:57
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:13:52
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:13:46
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:22:39
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:22:39
21:26:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:26:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:26:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:27:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:06 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:27:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:27:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:27:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:14:53
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:14:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:14:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:14:41
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:14:36
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:14:36
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:30
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:46
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:46
21:27:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:27:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:53
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:14:53
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:14:47
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:14:41
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:14:41
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:14:36
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:14:36
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:30
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:46
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:46
21:27:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:27:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:27:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:27:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:14:18
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:14:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:14:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:14:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:00
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:00
21:27:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:27:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:14:18
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:14:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:14:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:14:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:00
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:00
21:27:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:27:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:22 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:27:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:27:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:33 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:27:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:27:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:27:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:15:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:15:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:15:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:15:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:15:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:15:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:13
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:13
21:27:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:27:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:15:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:15:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:15:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:15:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:15:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:15:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:14:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:13
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:13
21:27:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:27:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:27:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:27:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:14:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:14:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:14:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:14:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:27
21:27:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:27:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:14:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:14:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:14:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:14:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:14:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:14:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:23:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:23:27
21:27:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:27:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:50 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:27:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:27:55 test_sonic.run_scenario L0244 INFO |
execute command result:
21:27:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:27:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:27:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:27:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:27:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:00 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:28:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:06 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:28:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:28:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:28:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:15:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:15:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:15:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:15:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:15:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:15:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:15:29
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:45
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:45
21:28:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:28:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:15:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:15:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:15:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:15:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:15:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:15:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:15:29
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:45
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:45
21:28:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:28:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 10
sub scenario delay: 10
21:28:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:28:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:15:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:15:18
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:15:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:15:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:15:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:00
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:00
21:28:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:28:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:15:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:15:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:15:18
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:15:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:15:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:15:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:00
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:00
21:28:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:28:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:22 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:28:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:28:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:33 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D A.B.C.D
node name: R-3
21:28:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8 0.0.0.3" \\\n-c "access-list standard1 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8 0.0.0.3" \\\n-c "access-list standard1 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:38 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:28:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:28:44 test_sonic.run_scenario L0244 INFO |
execute command result:
21:28:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:28:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:28:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:28:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:28:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:28:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:16:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:16:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:16:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:16:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:16:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:16:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:23
21:28:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:28:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:16:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:16:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:16:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:16:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:16:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:16:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:23
21:28:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:28:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:28:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:28:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:15:56
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:15:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:15:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:15:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:38
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:38
21:28:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:28:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:15:56
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:15:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:15:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:15:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:24:38
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:24:38
21:28:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:28:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:28:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:00 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:29:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:06 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:29:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:29:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:29:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:16:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:16:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:16:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:16:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:16:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:16:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:29
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:45
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:45
21:29:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:29:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:16:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:16:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:16:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:16:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:16:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:16:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:29
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:45
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:45
21:29:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:29:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:29:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:29:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:16:18
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:16:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:16:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:16:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:00
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:00
21:29:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:29:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:16:18
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:16:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:16:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:16:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:00
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:00
21:29:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:29:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:22 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:29:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:29:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:33 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:29:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:29:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:29:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:17:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:17:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:17:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:17:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:17:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:17:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:12
21:29:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:29:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:17:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:17:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:17:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:17:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:17:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:17:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:16:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:12
21:29:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:29:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:29:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:29:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:16:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:16:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:16:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:16:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:27
21:29:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:29:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:16:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:16:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:16:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:16:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:16:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:16:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:25:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:25:27
21:29:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:29:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:49 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:29:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:29:55 test_sonic.run_scenario L0244 INFO |
execute command result:
21:29:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:29:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:29:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:29:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:29:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:00 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:30:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:05 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:30:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:30:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:30:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:17:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:17:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:17:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:17:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:17:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:17:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:17:29
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:45
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:45
21:30:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:30:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:17:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:17:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:17:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:17:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:17:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:17:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:17:29
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:45
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:45
21:30:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:30:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:30:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:30:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:17:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:17:18
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:17:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:17:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:17:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:00
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:00
21:30:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:30:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:17:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:17:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:17:18
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:17:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:17:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:17:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:00
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:00
21:30:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:30:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:22 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:30:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:30:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:33 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D
node name: R-3
21:30:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8" \\\n-c "access-list standard1 deny 10.10.10.9" \\\n-c "access-list standard1 deny 10.10.10.10" \\\n-c "access-list standard1 deny 10.10.10.11" \\\n-c "access-list standard1 permit any" \\\t\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny 10.10.10.8" \\\n-c "access-list standard1 deny 10.10.10.9" \\\n-c "access-list standard1 deny 10.10.10.10" \\\n-c "access-list standard1 deny 10.10.10.11" \\\n-c "access-list standard1 permit any" \\\t\n-c "end"\n'}
expect values: []
not expect values: []
21:30:38 test_sonic.run_scenario L0244 INFO |
execute command result:
/bin/sh: 7: -c: not found
21:30:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
/bin/sh: 7: -c: not found
21:30:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:30:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:30:43 test_sonic.run_scenario L0244 INFO |
execute command result:
21:30:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:30:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:30:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:30:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:30:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:30:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:18:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:18:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:18:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:18:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:18:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:18:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:23
21:30:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:30:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:18:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:18:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:18:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:18:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:18:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:18:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:23
21:30:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:30:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:30:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:30:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:17:56
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:17:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:17:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:17:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:38
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:38
21:30:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:30:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:17:56
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:17:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:17:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:17:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:38
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:38
21:30:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:30:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:30:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:00 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:31:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:05 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:31:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:31:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:31:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:18:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:18:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:18:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:18:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:18:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:18:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:29
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:45
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:45
21:31:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:31:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:18:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:18:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:18:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:18:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:18:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:18:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:29
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:45
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:45
21:31:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:31:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:31:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:31:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:18:17
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:18:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:18:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:18:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:59
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:59
21:31:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:31:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:18:17
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:18:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:18:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:18:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:26:59
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:26:59
21:31:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:31:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:21 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:31:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:31:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:32 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:31:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:31:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:31:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:19:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:19:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:19:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:19:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:19:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:19:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:12
21:31:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:31:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:19:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:19:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:19:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:19:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:19:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:19:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:18:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:12
21:31:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:31:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:31:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:31:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:18:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:18:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:18:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:18:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:27
21:31:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:31:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:18:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:18:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:18:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:18:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:18:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:18:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:27
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:27
21:31:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:31:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:49 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:31:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:54 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:31:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:31:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:31:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:31:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:31:59 test_sonic.run_scenario L0244 INFO |
execute command result:
21:31:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:32:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:05 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:32:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:32:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:32:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:19:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:19:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:19:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:19:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:19:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:19:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:19:28
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:44
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:44
21:32:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:32:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:19:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:19:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:19:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:19:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:19:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:19:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:19:28
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:44
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:44
21:32:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:32:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:32:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:32:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:19:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:19:17
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:19:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:19:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:19:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:59
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:59
21:32:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:32:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:19:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:19:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:19:17
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:19:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:19:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:19:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:27:59
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:27:59
21:32:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:32:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:21 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:32:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:32:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:32 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny host A.B.C.D
node name: R-3
21:32:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.10.10.8" \\\n-c "access-list standard1 deny host 10.10.10.9" \\\n-c "access-list standard1 deny host 10.10.10.10" \\\n-c "access-list standard1 deny host 10.10.10.11" \\\n-c "access-list standard1 permit any" \\\t\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 deny host 10.10.10.8" \\\n-c "access-list standard1 deny host 10.10.10.9" \\\n-c "access-list standard1 deny host 10.10.10.10" \\\n-c "access-list standard1 deny host 10.10.10.11" \\\n-c "access-list standard1 permit any" \\\t\n-c "end"\n'}
expect values: []
not expect values: []
21:32:37 test_sonic.run_scenario L0244 INFO |
execute command result:
/bin/sh: 7: -c: not found
21:32:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
/bin/sh: 7: -c: not found
21:32:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:32:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:43 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:32:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:32:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:32:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:20:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:20:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:20:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:20:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:20:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:20:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:23
21:32:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:32:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:20:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:20:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:20:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:20:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:20:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:20:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:07
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:23
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:23
21:32:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:32:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:32:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:32:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:19:55
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:19:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:19:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:19:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:37
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:37
21:32:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:32:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:19:55
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:19:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:19:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:19:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:37
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:37
21:32:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:32:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:32:59 test_sonic.run_scenario L0244 INFO |
execute command result:
21:32:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:32:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:32:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:32:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:32:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:05 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:33:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:33:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:33:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:20:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:20:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:20:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:20:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:20:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:20:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:28
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:44
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:44
21:33:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:33:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:20:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:20:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:20:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:20:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:20:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:20:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:28
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:44
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:44
21:33:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:33:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:33:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:33:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:20:17
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:20:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:20:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:20:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:59
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:59
21:33:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:33:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:20:17
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:20:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:20:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:20:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:28:59
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:28:59
21:33:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:33:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:21 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:33:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:27 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:33:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:32 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:33:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:33:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:33:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:21:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:21:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:21:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:21:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:21:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:21:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:12
21:33:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:33:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:19
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:21:19
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:21:13
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:21:07
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:21:07
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:21:02
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:21:02
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:20:56
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:12
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:12
21:33:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:33:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:33:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:33:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:55
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:50
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:20:44
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:20:39
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:20:33
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:20:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:26
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:26
21:33:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:33:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:20:55
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:20:50
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:20:44
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:20:39
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:20:33
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:20:33
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:26
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:26
21:33:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:33:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:48 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:33:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:54 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:33:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:33:59 test_sonic.run_scenario L0244 INFO |
execute command result:
21:33:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:33:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:33:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:33:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:33:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:05 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:34:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:34:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:34:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:21:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:21:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:21:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:21:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:21:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:21:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:21:28
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:44
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:44
21:34:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:34:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:51
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:21:51
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:21:45
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:21:39
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:21:39
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:21:34
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:21:34
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:21:28
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:44
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:44
21:34:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:34:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:34:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:34:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:21:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:21:17
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:21:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:21:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:21:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:59
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:59
21:34:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:34:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:21:28
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:21:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:21:17
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:21:12
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:21:06
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:21:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:29:59
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:29:59
21:34:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:34:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:21 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:34:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:26 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:34:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:32 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
21:34:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:37 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip address prefix-list
node name: R-3
21:34:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip address prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:43 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - Default
node name: R-3
21:34:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.9/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.10/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.11/32" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.9/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.10/32" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.11/32" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:48 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:34:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:34:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:34:54 test_sonic.run_scenario L0244 INFO |
execute command result:
21:34:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:34:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:34:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:34:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:34:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:34:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:22:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:22:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:22:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:22:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:22:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:22:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:22:17
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:33
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:33
21:34:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:34:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:22:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:22:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:22:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:22:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:22:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:22:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:22:17
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:33
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:33
21:34:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:34:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:34:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:35:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:17
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:22:12
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:06
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:01
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:21:55
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:21:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:48
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:48
21:35:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:35:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:17
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:22:12
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:06
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:01
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:21:55
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:21:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:30:48
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:30:48
21:35:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:35:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:10 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:35:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:15 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:35:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:35:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:35:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:23:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:22:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:22:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:22:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:22:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:22:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:22:39
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:55
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:55
21:35:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:35:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:23:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:22:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:22:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:22:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:22:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:22:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:22:39
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:55
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:55
21:35:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:35:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:35:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:35:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:22:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:22:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:22:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:09
21:35:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:35:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:22:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:22:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:22:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:22:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:09
21:35:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:35:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:32 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:35:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:37 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:35:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:35:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:35:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:35:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:23:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:23:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:23:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:23:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:23:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:23:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:23:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:22
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:22
21:35:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:35:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:23:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:23:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:23:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:23:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:23:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:23:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:23:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:22
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:22
21:35:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:35:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:35:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:35:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:23:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:22:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:22:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:36
21:35:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:35:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:23:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:22:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:22:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:22:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:22:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:31:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:31:36
21:35:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:35:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:35:59 test_sonic.run_scenario L0244 INFO |
execute command result:
21:35:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:35:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:35:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:35:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:35:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:04 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:36:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:10 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:36:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:15 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:36:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:36:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:36:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:24:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:23:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:23:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:23:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:23:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:23:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:23:39
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:55
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:55
21:36:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:36:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:24:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:23:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:23:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:23:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:23:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:23:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:23:39
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:55
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:55
21:36:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:36:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:36:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:36:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:23:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:23:27
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:23:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:23:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:23:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:09
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:09
21:36:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:36:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:23:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:23:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:23:27
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:23:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:23:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:23:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:09
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:09
21:36:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:36:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:36:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:37 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
21:36:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge & le
node name: R-3
21:36:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/30 ge 31 le 32" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/30 ge 31 le 32" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:48 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:36:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:36:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:36:53 test_sonic.run_scenario L0244 INFO |
execute command result:
21:36:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:36:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:36:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:36:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:36:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:36:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:24:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:24:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:24:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:24:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:24:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:24:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:24:17
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:33
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:33
21:36:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:36:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:40
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:24:40
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:24:34
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:24:28
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:24:28
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:24:23
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:24:23
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:24:17
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:33
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:33
21:36:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:36:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:36:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:37:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:24:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:23:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:23:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:47
21:37:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:37:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:24:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:23:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:23:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:32:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:32:47
21:37:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:37:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:10 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:37:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:15 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:37:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:37:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:37:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:25:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:24:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:24:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:24:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:24:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:24:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:24:39
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:55
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:55
21:37:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:37:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:02
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:25:02
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:24:56
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:24:50
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:24:50
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:24:45
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:24:45
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:24:39
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:55
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:55
21:37:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:37:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:37:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:37:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:24:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:24:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:24:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:09
21:37:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:37:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:24:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:24:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:24:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:24:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:09
21:37:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:37:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:37:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:37 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:37:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:37:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:37:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:37:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:25:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:25:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:25:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:25:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:25:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:25:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:25:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:22
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:22
21:37:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:37:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:25:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:25:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:25:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:25:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:25:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:25:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:25:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:22
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:22
21:37:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:37:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:37:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:37:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:25:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:24:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:24:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:36
21:37:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:37:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:25:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:24:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:24:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:24:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:24:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:33:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:33:36
21:37:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:37:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:37:59 test_sonic.run_scenario L0244 INFO |
execute command result:
21:37:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:37:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:37:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:37:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:37:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:04 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:38:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:38:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:15 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:38:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:38:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:38:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:26:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:25:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:25:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:25:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:25:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:25:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:25:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:54
21:38:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:38:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:26:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:25:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:25:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:25:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:25:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:25:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:25:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:54
21:38:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:38:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:38:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:38:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:25:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:25:27
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:25:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:25:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:25:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:09
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:09
21:38:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:38:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:25:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:25:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:25:27
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:25:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:25:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:25:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:09
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:09
21:38:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:38:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:38:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:37 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
21:38:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge
node name: R-3
21:38:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/30 ge 31" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 deny 10.10.10.8/30 ge 31" \\\n-c "ip prefix-list PREFIX1 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:38:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:38:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:38:53 test_sonic.run_scenario L0244 INFO |
execute command result:
21:38:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:38:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:38:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:38:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:38:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:38:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:26:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:26:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:26:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:26:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:26:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:26:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:26:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:32
21:38:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:38:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:26:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:26:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:26:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:26:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:26:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:26:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:26:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:32
21:38:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:38:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:38:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:39:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:26:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:25:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:25:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:47
21:39:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:39:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:26:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:25:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:25:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:34:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:34:47
21:39:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:39:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:39:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:39:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:39:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:39:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:27:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:26:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:26:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:26:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:26:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:26:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:26:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:54
21:39:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:39:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:27:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:26:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:26:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:26:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:26:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:26:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:26:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:54
21:39:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:39:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:39:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:39:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:26:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:26:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:26:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:09
21:39:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:39:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:26:38
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:26:33
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:27
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:22
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:26:16
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:26:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:09
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:09
21:39:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:39:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:39:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:39:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:39:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:39:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:39:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:27:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:27:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:27:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:27:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:27:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:27:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:27:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:21
21:39:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:39:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:27:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:27:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:27:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:27:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:27:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:27:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:27:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:21
21:39:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:39:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:39:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:39:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:27:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:26:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:26:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:36
21:39:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:39:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:27:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:26:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:26:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:26:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:26:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:35:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:35:36
21:39:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:39:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:39:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:39:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:39:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:39:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:39:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:39:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:40:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:40:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:40:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:40:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:40:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:28:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:27:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:27:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:27:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:27:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:27:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:27:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:54
21:40:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:40:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:28:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:27:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:27:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:27:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:27:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:27:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:27:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:54
21:40:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:40:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:40:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:40:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:27:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:27:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:27:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:27:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:27:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:08
21:40:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:40:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:27:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:27:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:27:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:27:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:27:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:27:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:08
21:40:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:40:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:40:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
21:40:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - Default
node name: R-3
21:40:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.10.10.8/32" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.10.10.9/32" \\\n-c "ip prefix-list PREFIX1 seq 3 deny 10.10.10.10/32" \\\n-c "ip prefix-list PREFIX1 seq 4 deny 10.10.10.11/32" \\\n-c "ip prefix-list PREFIX1 seq 5 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.10.10.8/32" \\\n-c "ip prefix-list PREFIX1 seq 2 deny 10.10.10.9/32" \\\n-c "ip prefix-list PREFIX1 seq 3 deny 10.10.10.10/32" \\\n-c "ip prefix-list PREFIX1 seq 4 deny 10.10.10.11/32" \\\n-c "ip prefix-list PREFIX1 seq 5 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:40:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:40:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:40:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:40:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:40:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:40:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:40:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:40:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:40:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:28:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:28:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:28:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:28:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:28:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:28:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:28:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:32
21:40:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:40:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:28:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:28:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:28:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:28:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:28:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:28:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:28:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:32
21:40:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:40:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:40:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:41:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:28:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:27:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:27:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:47
21:41:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:41:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:28:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:05
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:27:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:27:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:36:47
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:36:47
21:41:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:41:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:41:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:41:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:41:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:41:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:29:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:28:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:28:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:28:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:28:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:28:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:28:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:54
21:41:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:41:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:29:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:28:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:28:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:28:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:28:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:28:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:28:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:54
21:41:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:41:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:41:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:41:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:28:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:26
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:28:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:28:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:08
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:08
21:41:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:41:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:28:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:28:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:26
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:28:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:28:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:08
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:08
21:41:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:41:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:30 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:41:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:41:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:41:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:41:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:41:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:29:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:29:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:29:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:29:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:29:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:29:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:29:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:21
21:41:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:41:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:29:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:29:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:29:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:29:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:29:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:29:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:29:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:21
21:41:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:41:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:41:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:41:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:29:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:28:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:28:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:36
21:41:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:41:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:05
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:29:00
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:28:54
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:28:49
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:28:43
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:28:43
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:37:36
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:37:36
21:41:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:41:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:41:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:41:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:41:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:41:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:41:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:41:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:42:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:42:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:42:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:42:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:42:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:30:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:29:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:29:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:29:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:29:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:29:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:29:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:54
21:42:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:42:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:30:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:29:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:29:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:29:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:29:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:29:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:29:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:54
21:42:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:42:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:42:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:42:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:29:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:29:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:29:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:29:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:29:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:08
21:42:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:42:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:29:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:29:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:29:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:29:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:29:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:29:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:08
21:42:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:42:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:30 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:42:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
21:42:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge & le
node name: R-3
21:42:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.10.10.8/30 ge 31 le 32" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX1 seq 1 deny 10.10.10.8/30 ge 31 le 32" \\\n-c "ip prefix-list PREFIX1 seq 2 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:42:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:42:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:42:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:42:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:42:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:42:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:42:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:42:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:42:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:30:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:30:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:30:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:30:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:30:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:30:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:30:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:32
21:42:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:42:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:30:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:30:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:30:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:30:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:30:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:30:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:30:16
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:32
B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:32
21:42:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:42:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:42:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:43:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:04
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:29:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:29:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:29:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:46
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:46
21:43:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:43:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:04
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:29:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:29:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:29:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:38:46
B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:38:46
21:43:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:43:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:43:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:43:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:43:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:43:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:31:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:30:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:30:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:30:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:30:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:30:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:30:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:54
21:43:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:43:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:31:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:30:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:30:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:30:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:30:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:30:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:30:38
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:54
B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:54
21:43:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:43:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:43:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:43:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:26
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:30:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:30:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:30:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:08
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:08
21:43:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:43:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:30:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:26
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:30:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:30:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:30:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:08
B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:08
21:43:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:43:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:30 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:43:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:43:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:43:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:43:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:43:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:31:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:31:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:31:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:31:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:31:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:31:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:31:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:21
21:43:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:43:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:28
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:31:28
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:31:22
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:31:16
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:31:16
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:31:11
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:31:11
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:31:05
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:21
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:21
21:43:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:43:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:43:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:43:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:04
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:59
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:53
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:30:48
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:30:42
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:30:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:35
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:35
21:43:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:43:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:04
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:30:59
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:30:53
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:30:48
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:30:42
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:30:42
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:39:35
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:39:35
21:43:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:43:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:43:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:43:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:43:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:43:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:43:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:43:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:44:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:44:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:44:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:44:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:44:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:32:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:32:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:31:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:31:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:31:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:31:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:31:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:31:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:54
21:44:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:44:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:32:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:32:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:31:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:31:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:31:49
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:31:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:31:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:31:38
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:54
B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:54
21:44:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:44:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']]
sub scenario retries: 5
sub scenario delay: 1
21:44:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['10.10.10.8/32', '10.10.10.9/32', '10.10.10.10/32', '10.10.10.11/32']
21:44:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:31:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:31:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:31:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:31:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:31:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:08
21:44:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:44:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:31:37
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:31:32
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:31:26
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:31:21
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:31:15
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:31:15
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:40:08
B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:40:08
21:44:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:44:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:31 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:44:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:36 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
21:44:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:42 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
21:44:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-1
21:44:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-2
21:44:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:44:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:44:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:44:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:44:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-3
21:44:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 10.10.10.7/32 10.1.3.1" \\\n-c "no ip route 10.10.10.8/32 10.1.3.1" \\\n-c "no ip route 10.10.10.9/32 10.1.3.1" \\\n-c "no ip route 10.10.10.10/32 10.1.3.1" \\\n-c "no ip route 10.10.10.11/32 10.1.3.1" \\\n-c "no ip route 10.10.10.12/32 10.1.3.1" \\\n-c "no ip route 11.11.11.7/32 10.30.0.2" \\\n-c "no ip route 11.11.11.8/32 10.30.0.2" \\\n-c "no ip route 11.11.11.9/32 10.30.0.2" \\\n-c "no ip route 12.12.12.7/32 10.30.1.2" \\\n-c "no ip route 12.12.12.8/32 10.30.1.2" \\\n-c "no ip route 12.12.12.9/32 10.30.1.2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:44:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 10.10.10.7/32 10.1.3.1" \\\n-c "no ip route 10.10.10.8/32 10.1.3.1" \\\n-c "no ip route 10.10.10.9/32 10.1.3.1" \\\n-c "no ip route 10.10.10.10/32 10.1.3.1" \\\n-c "no ip route 10.10.10.11/32 10.1.3.1" \\\n-c "no ip route 10.10.10.12/32 10.1.3.1" \\\n-c "no ip route 11.11.11.7/32 10.30.0.2" \\\n-c "no ip route 11.11.11.8/32 10.30.0.2" \\\n-c "no ip route 11.11.11.9/32 10.30.0.2" \\\n-c "no ip route 12.12.12.7/32 10.30.1.2" \\\n-c "no ip route 12.12.12.8/32 10.30.1.2" \\\n-c "no ip route 12.12.12.9/32 10.30.1.2" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:45:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:45:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:45:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:45:03 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute Static By RouteMap - match ip nexthop Function
21:45:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-1
21:45:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']
not expect values: []
21:45:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.10.1.1', 'neighbor 10.1.1.2 remote-as 100', 'neighbor 10.1.1.10 remote-as 300', 'neighbor 10.1.1.2 next-hop-self']
21:45:09 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
21:45:11 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.503 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.856 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.875 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2012ms
rtt min/avg/max/mdev = 0.503/0.744/0.875/0.171 ms
21:45:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-2
21:45:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
not expect values: []
21:45:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'bgp router-id 10.20.1.1', 'neighbor 10.1.1.1 remote-as 100']
21:45:17 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
21:45:19 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.901 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.763 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.08 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2036ms
rtt min/avg/max/mdev = 0.763/0.915/1.081/0.130 ms
21:45:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Set
node name: R-3
21:45:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.10.10.7/32 10.1.3.1" \\\n-c "ip route 10.10.10.8/32 10.1.3.1" \\\n-c "ip route 10.10.10.9/32 10.1.3.1" \\\n-c "ip route 10.10.10.10/32 10.1.3.1" \\\n-c "ip route 10.10.10.11/32 10.1.3.1" \\\n-c "ip route 10.10.10.12/32 10.1.3.1" \\\n-c "ip route 11.11.11.7/32 10.30.0.2" \\\n-c "ip route 11.11.11.8/32 10.30.0.2" \\\n-c "ip route 11.11.11.9/32 10.30.0.2" \\\n-c "ip route 12.12.12.7/32 10.30.1.2" \\\n-c "ip route 12.12.12.8/32 10.30.1.2" \\\n-c "ip route 12.12.12.9/32 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.10.10.7/32 10.1.3.1" \\\n-c "ip route 10.10.10.8/32 10.1.3.1" \\\n-c "ip route 10.10.10.9/32 10.1.3.1" \\\n-c "ip route 10.10.10.10/32 10.1.3.1" \\\n-c "ip route 10.10.10.11/32 10.1.3.1" \\\n-c "ip route 10.10.10.12/32 10.1.3.1" \\\n-c "ip route 11.11.11.7/32 10.30.0.2" \\\n-c "ip route 11.11.11.8/32 10.30.0.2" \\\n-c "ip route 11.11.11.9/32 10.30.0.2" \\\n-c "ip route 12.12.12.7/32 10.30.1.2" \\\n-c "ip route 12.12.12.8/32 10.30.1.2" \\\n-c "ip route 12.12.12.9/32 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
not expect values: []
21:45:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.10.10.7/32 10.1.3.1', 'ip route 10.10.10.8/32 10.1.3.1', 'ip route 10.10.10.9/32 10.1.3.1', 'ip route 10.10.10.10/32 10.1.3.1', 'ip route 10.10.10.11/32 10.1.3.1', 'ip route 10.10.10.12/32 10.1.3.1', 'ip route 11.11.11.7/32 10.30.0.2', 'ip route 11.11.11.8/32 10.30.0.2', 'ip route 11.11.11.9/32 10.30.0.2', 'ip route 12.12.12.7/32 10.30.1.2', 'ip route 12.12.12.8/32 10.30.1.2', 'ip route 12.12.12.9/32 10.30.1.2', 'router bgp 300', 'bgp router-id 10.30.1.1', 'neighbor 10.1.1.9 remote-as 100']
21:45:24 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
21:45:27 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.929 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.699 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=1.05 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.699/0.891/1.045/0.143 ms
21:45:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-1
21:45:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
21:45:32 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:14 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:06 0 0 N/A
Total number of neighbors 2
21:45:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
21:45:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:14 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:06 0 0 N/A
Total number of neighbors 2
21:45:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-2
21:45:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
21:45:38 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
21:45:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
21:45:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
21:45:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-3
21:45:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.9 4 100', 'Total number of neighbors 1']
not expect values: []
21:45:43 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:18 0 0 N/A
Total number of neighbors 1
21:45:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', 'Total number of neighbors 1']
21:45:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:18 0 0 N/A
Total number of neighbors 1
21:45:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip next-hop
node name: R-3
21:45:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:45:49 test_sonic.run_scenario L0244 INFO |
execute command result:
21:45:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:45:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:45:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D 0.0.0.0
node name: R-3
21:45:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.2 0.0.0.0" \\\n-c "access-list 10 deny 10.30.1.2 0.0.0.0" \\\n-c "access-list 10 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.2 0.0.0.0" \\\n-c "access-list 10 deny 10.30.1.2 0.0.0.0" \\\n-c "access-list 10 permit any" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:45:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip next-hop 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 deny 10.30.0.2 0.0.0.0
access-list 10 seq 10 deny 10.30.1.2 0.0.0.0
access-list 10 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:45:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip next-hop 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 deny 10.30.0.2 0.0.0.0
access-list 10 seq 10 deny 10.30.1.2 0.0.0.0
access-list 10 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:45:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:45:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:45:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip next-hop 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 deny 10.30.0.2 0.0.0.0
access-list 10 seq 10 deny 10.30.1.2 0.0.0.0
access-list 10 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:46:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 1
match ip next-hop 10
exit
!
password zebra
enable password zebra
!
ip route 10.10.10.7/32 10.1.3.1
ip route 10.10.10.8/32 10.1.3.1
ip route 10.10.10.9/32 10.1.3.1
ip route 10.10.10.10/32 10.1.3.1
ip route 10.10.10.11/32 10.1.3.1
ip route 10.10.10.12/32 10.1.3.1
ip route 11.11.11.7/32 10.30.0.2
ip route 11.11.11.8/32 10.30.0.2
ip route 11.11.11.9/32 10.30.0.2
ip route 12.12.12.7/32 10.30.1.2
ip route 12.12.12.8/32 10.30.1.2
ip route 12.12.12.9/32 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 deny 10.30.0.2 0.0.0.0
access-list 10 seq 10 deny 10.30.1.2 0.0.0.0
access-list 10 seq 15 permit any
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
21:46:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:46:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:46:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:46:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:46
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:33:46
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:33:40
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:33:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:33:34
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:33:29
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:33:29
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:33:23
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:39
21:46:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:46:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:46
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:33:46
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:33:40
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:33:34
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:33:34
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:33:29
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:33:29
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:33:23
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:39
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:39
21:46:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:46:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:46:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:46:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:23
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:33:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:33:12
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:01
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:54
21:46:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:46:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:23
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:33:18
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:33:12
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:07
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:01
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:01
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:41:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:41:54
21:46:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:46:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:46:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:46:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:46:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:46:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:46:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:46:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:46:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:46:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:46:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:46:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:34:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:34:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:33:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:33:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:33:49
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:05
21:46:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:46:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:34:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:34:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:33:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:33:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:33:49
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:05
21:46:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:46:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:46:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:46:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:33:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:33:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:42:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:42:19
21:46:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:46:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:33:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:33:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:33:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:42:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:42:19
21:46:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:46:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:46:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:46:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:46:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:46:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:46:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:46:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:46:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:46:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:46:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:46:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:46:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:46:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:46:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:46:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:46:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:46:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:34:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:34:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:34:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:34:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:34:16
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:32
21:46:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:46:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:34:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:34:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:34:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:34:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:34:16
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:32
21:46:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:46:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:46:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:47:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:34:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:34:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:42:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:42:46
21:47:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:47:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:34:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:34:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:33:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:33:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:33:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:42:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:42:46
21:47:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:47:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:09 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:47:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: RouteMap and Redistribute Metric Set - 01 - Set metric
node name: R-3
21:47:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:47:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:47:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:47:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:47:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:35:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:35:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:34:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:34:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:34:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:04
21:47:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:47:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:35:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:35:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:34:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:34:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:34:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:34:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:34:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:04
21:47:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:47:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:47:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:47:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:34:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:34:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:34:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:34:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:34:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:19
21:47:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:47:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:34:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:34:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:34:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:34:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:34:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:34:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:19
21:47:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:47:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete - Delete Metric
node name: R-3
21:47:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:47:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D A.B.C.D
node name: R-3
21:47:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.0 0.0.1.255" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.0 0.0.1.255" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:47:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:47:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:47:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:47:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:47:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:47:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:48:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:48:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:48:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:35:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:35:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:35:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:35:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:35:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:35:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:35:27
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:43
21:48:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:48:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:35:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:35:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:35:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:35:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:35:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:35:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:35:27
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:43
21:48:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:48:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:48:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:48:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:35:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:35:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:57
21:48:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:48:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:35:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:35:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:43:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:43:57
21:48:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:48:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:48:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:20 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:48:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:48:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:48:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:48:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:48:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:36:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:36:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:35:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:35:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:35:49
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:05
21:48:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:48:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:12
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:36:12
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:36:06
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:00
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:00
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:35:55
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:35:55
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:35:49
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:05
21:48:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:48:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:48:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:48:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:35:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:35:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:19
21:48:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:48:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:35:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:35:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:35:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:19
21:48:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:48:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:48:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:48:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:48:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:48:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:48:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:48:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:48:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:48:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:48:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:48:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:48:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:48:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:36:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:36:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:36:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:36:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:36:16
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:32
21:48:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:48:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:39
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:36:39
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:36:33
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:27
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:27
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:36:22
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:36:22
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:36:16
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:32
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:32
21:48:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:48:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:48:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:49:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:36:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:36:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:46
21:49:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:49:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:36:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:36:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:35:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:35:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:35:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:44:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:44:46
21:49:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:49:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:08 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:49:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:49:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:49:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:49:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:49:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:49:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:37:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:37:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:36:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:36:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:36:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:04
21:49:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:49:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:37:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:37:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:36:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:36:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:36:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:36:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:36:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:04
21:49:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:49:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:49:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:49:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:36:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:36:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:36:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:36:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:36:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:19
21:49:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:49:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:36:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:36:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:36:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:36:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:36:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:36:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:19
21:49:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:49:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:49:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:47 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:49:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny A.B.C.D
node name: R-3
21:49:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.2" \\\n-c "access-list 10 deny 10.30.1.2" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 10 deny 10.30.0.2" \\\n-c "access-list 10 deny 10.30.1.2" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:49:58 test_sonic.run_scenario L0244 INFO |
execute command result:
21:49:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:49:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:49:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:49:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:49:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:03 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:50:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:50:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:37:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:37:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:37:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:37:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:37:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:37:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:37:27
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:43
21:50:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:50:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:50
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:37:50
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:37:44
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:37:38
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:37:38
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:37:33
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:37:33
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:37:27
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:43
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:43
21:50:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:50:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:50:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:50:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:37:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:37:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:57
21:50:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:50:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:37:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:37:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:45:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:45:57
21:50:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:50:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:50:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:50:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:50:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:50:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:50:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:50:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:38:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:38:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:37:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:37:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:37:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:37:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:37:48
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:04
21:50:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:50:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:38:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:38:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:37:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:37:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:37:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:37:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:37:48
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:04
21:50:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:50:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:50:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:50:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:37:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:37:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:19
21:50:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:50:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:37:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:37:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:37:37
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:19
21:50:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:50:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:50:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:50:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:50:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:46 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:50:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:50:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:50:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:50:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:50:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:50:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:50:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:50:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:50:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:38:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:38:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:38:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:38:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:38:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:38:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:38:15
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:31
21:50:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:50:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:38:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:38:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:38:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:38:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:38:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:38:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:38:15
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:31
21:50:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:50:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:50:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:51:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:38:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:38:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:46
21:51:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:51:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:15
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:38:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:38:04
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:37:59
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:37:53
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:37:53
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:46:46
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:46:46
21:51:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:51:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:08 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:51:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:14 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:51:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:51:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:25 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:51:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:51:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:51:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:39:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:39:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:38:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:38:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:38:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:38:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:38:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:04
21:51:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:51:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:39:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:39:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:38:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:38:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:38:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:38:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:38:48
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:04
21:51:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:51:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:51:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:51:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:38:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:38:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:38:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:38:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:38:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:19
21:51:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:51:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:38:48
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:38:43
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:38:37
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:38:32
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:38:26
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:38:26
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:19
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:19
21:51:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:51:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:41 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:51:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:46 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:51:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:52 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list deny host A.B.C.D
node name: R-3
21:51:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 10 deny host 10.30.0.2" \\\n-c "access-list 10 deny host 10.30.1.2" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 10 deny host 10.30.0.2" \\\n-c "access-list 10 deny host 10.30.1.2" \\\n-c "access-list 10 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:51:57 test_sonic.run_scenario L0244 INFO |
execute command result:
21:51:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:51:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:51:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:51:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:51:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:52:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:52:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:52:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:49
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:39:49
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:39:43
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:39:37
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:39:37
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:39:32
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:39:32
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:39:26
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:42
21:52:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:52:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:49
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:39:49
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:39:43
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:39:37
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:39:37
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:39:32
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:39:32
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:39:26
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:42
21:52:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:52:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:52:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:52:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:39:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:39:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:57
21:52:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:52:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:26
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:39:21
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:39:15
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:10
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:04
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:04
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:47:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:47:57
21:52:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:52:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:52:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:19 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:52:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:52:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:24 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:52:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:52:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:52:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:40:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:40:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:39:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:39:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:39:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:39:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:39:48
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:04
21:52:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:52:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:40:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:40:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:39:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:39:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:39:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:39:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:39:48
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:04
21:52:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:52:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:52:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:52:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:39:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:39:36
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:18
21:52:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:52:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:39:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:39:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:39:36
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:18
21:52:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:52:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:52:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:52:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:52:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:46 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:52:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:52:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:52:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:52:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:52:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:52:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:52:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:52:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:52:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:40:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:40:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:40:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:40:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:40:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:40:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:40:15
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:31
21:52:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:52:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:38
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:40:38
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:40:32
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:40:26
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:40:26
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:40:21
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:40:21
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:40:15
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:31
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:31
21:52:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:52:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:52:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:53:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:14
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:40:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:40:03
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:52
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:45
21:53:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:53:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:14
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:40:09
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:40:03
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:39:58
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:39:52
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:39:52
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:48:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:48:45
21:53:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:53:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:08 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:53:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:13 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:53:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:53:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:24 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:53:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:53:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:53:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:41:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:41:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:40:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:40:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:40:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:40:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:40:47
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:03
21:53:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:53:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:10
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:41:10
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:41:04
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:40:58
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:40:58
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:40:53
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:40:53
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:40:47
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:03
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:03
21:53:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:53:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:53:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:53:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:40:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:40:36
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:40:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:40:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:40:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:18
21:53:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:53:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:40:47
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:40:42
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:40:36
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:40:31
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:40:25
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:40:25
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:49:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:49:18
21:53:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:53:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:40 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:53:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:46 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
21:53:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
21:53:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:53:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:53:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:53:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:53:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-3
21:53:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop standard10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:53:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop standard10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D 0.0.0.0
node name: R-3
21:54:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.2 0.0.0.0" \\\n-c "access-list standard10 deny 10.30.1.2 0.0.0.0" \\\n-c "access-list standard10 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.2 0.0.0.0" \\\n-c "access-list standard10 deny 10.30.1.2 0.0.0.0" \\\n-c "access-list standard10 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:54:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:13 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:54:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:54:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:54:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:41:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:41:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:41:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:41:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:41:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:41:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:41:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:52
21:54:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:54:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:41:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:41:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:41:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:41:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:41:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:41:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:41:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:52
21:54:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:54:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:54:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:54:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:41:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:41:25
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:41:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:41:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:41:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:07
21:54:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:54:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:41:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:41:25
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:41:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:41:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:41:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:07
21:54:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:54:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:54:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:35 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:54:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:54:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:54:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:42:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:42:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:42:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:42:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:42:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:42:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:41:58
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:14
21:54:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:54:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:42:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:42:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:42:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:42:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:42:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:42:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:41:58
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:14
21:54:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:54:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:54:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:54:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:58
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:41:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:41:47
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:41:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:41:36
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:41:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:29
21:54:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:54:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:41:58
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:41:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:41:47
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:41:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:41:36
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:41:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:29
21:54:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:54:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:54:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:54:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:54:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:54:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:54:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:54:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:54:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:55:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:55:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:55:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:42:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:42:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:42:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:42:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:42:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:42:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:42:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:41
21:55:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:55:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:42:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:42:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:42:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:42:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:42:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:42:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:42:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:41
21:55:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:55:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:55:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:55:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:42:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:42:14
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:42:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:42:03
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:42:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:56
21:55:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:55:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:42:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:42:14
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:42:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:42:03
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:42:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:50:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:50:56
21:55:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:55:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:55:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:24 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:55:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:55:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:35 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:55:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:55:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:55:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:43:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:43:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:43:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:43:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:43:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:43:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:42:58
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:14
21:55:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:55:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:43:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:43:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:43:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:43:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:43:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:43:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:42:58
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:14
21:55:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:55:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:55:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:55:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:58
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:42:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:42:47
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:42:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:42:36
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:42:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:29
21:55:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:55:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:42:58
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:42:53
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:42:47
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:42:42
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:42:36
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:42:36
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:51:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:51:29
21:55:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:55:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:55:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:55:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:55:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:55:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:55:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:55:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:55:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:02 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D A.B.C.D
node name: R-3
21:56:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.0 0.0.1.255" \\\n-c "access-list standard10 permit any" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.0 0.0.1.255" \\\n-c "access-list standard10 permit any" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:07 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:56:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:13 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:56:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:56:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:56:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:43:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:43:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:43:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:43:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:43:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:43:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:43:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:52
21:56:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:56:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:43:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:43:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:43:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:43:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:43:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:43:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:43:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:52
21:56:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:56:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:56:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:56:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:43:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:43:25
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:43:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:43:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:43:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:07
21:56:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:56:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:36
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:43:31
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:43:25
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:43:20
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:43:14
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:43:14
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:07
21:56:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:56:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:56:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:56:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:56:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:56:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:44:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:44:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:44:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:44:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:44:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:44:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:43:58
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:14
21:56:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:56:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:44:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:44:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:44:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:44:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:44:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:44:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:43:58
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:14
21:56:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:56:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:56:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:56:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:43:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:43:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:43:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:43:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:43:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:28
21:56:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:56:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:43:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:43:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:43:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:43:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:43:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:43:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:28
21:56:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:56:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:51 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:56:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:56:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:56:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:56:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:56:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:56:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:56:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:57:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:57:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:57:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:44:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:44:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:44:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:44:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:44:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:44:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:44:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:41
21:57:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:57:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:44:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:44:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:44:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:44:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:44:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:44:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:44:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:41
21:57:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:57:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:57:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:57:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:44:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:44:14
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:44:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:44:03
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:44:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:56
21:57:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:57:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:25
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:44:20
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:44:14
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:44:09
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:44:03
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:44:03
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:52:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:52:56
21:57:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:57:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:57:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:57:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:29 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:57:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:57:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:57:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:57:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:45:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:45:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:45:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:45:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:45:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:45:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:44:58
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:14
21:57:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:57:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:21
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:45:21
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:45:15
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:45:09
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:45:09
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:45:04
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:45:04
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:44:58
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:14
21:57:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:57:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:57:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:57:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:44:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:44:46
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:44:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:44:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:44:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:28
21:57:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:57:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:44:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:44:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:44:46
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:44:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:44:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:44:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:53:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:53:28
21:57:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:57:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:50 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:57:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:57:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:57:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:57:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:57:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:57:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:57:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny A.B.C.D
node name: R-3
21:58:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.2" \\\n-c "access-list standard10 deny 10.30.1.2" \\\n-c "access-list standard10 permit any" \\\t\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny 10.30.0.2" \\\n-c "access-list standard10 deny 10.30.1.2" \\\n-c "access-list standard10 permit any" \\\t\n-c "end"\n'}
expect values: []
not expect values: []
21:58:07 test_sonic.run_scenario L0244 INFO |
execute command result:
/bin/sh: 5: -c: not found
21:58:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
/bin/sh: 5: -c: not found
21:58:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
21:58:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:12 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:58:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:58:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
21:58:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:45:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:45:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:45:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:45:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:45:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:45:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:45:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:52
21:58:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
21:58:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:59
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:45:59
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:45:53
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:45:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:45:47
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:45:42
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:45:42
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:45:36
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:52
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:52
21:58:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:58:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:58:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
21:58:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:45:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:45:24
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:45:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:45:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:45:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:06
21:58:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
21:58:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:45:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:45:24
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:45:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:45:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:45:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:06
21:58:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:58:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
21:58:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:58:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:58:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
21:58:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:46:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:46:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:46:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:46:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:46:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:46:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:45:57
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:13
21:58:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
21:58:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:46:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:46:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:46:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:46:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:46:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:46:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:45:57
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:13
21:58:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:58:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:58:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
21:58:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:45:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:45:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:45:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:45:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:45:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:28
21:58:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
21:58:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:45:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:45:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:45:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:45:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:45:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:45:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:28
21:58:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:58:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:50 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:58:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:58:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:58:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:58:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:58:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:58:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:58:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:01 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:59:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:59:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:59:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:46:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:46:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:46:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:46:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:46:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:46:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:46:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:41
21:59:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:59:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:48
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:46:48
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:46:42
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:46:36
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:46:36
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:46:31
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:46:31
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:46:25
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:41
21:59:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:59:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:59:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:59:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:46:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:46:13
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:46:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:46:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:46:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:55
21:59:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:59:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:46:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:46:13
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:46:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:46:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:46:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:54:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:54:55
21:59:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:59:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:18 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:59:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:23 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:59:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:28 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
21:59:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:34 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
21:59:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
21:59:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
21:59:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:47:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:47:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:47:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:47:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:47:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:47:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:46:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:13
21:59:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
21:59:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:47:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:47:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:47:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:47:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:47:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:47:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:46:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:13
21:59:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
21:59:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
21:59:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
21:59:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:46:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:46:46
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:46:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:46:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:46:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:28
21:59:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
21:59:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:46:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:46:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:46:46
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:46:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:46:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:46:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:55:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:55:28
21:59:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
21:59:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:50 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
21:59:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
21:59:56 test_sonic.run_scenario L0244 INFO |
execute command result:
21:59:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
21:59:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
21:59:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
21:59:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
21:59:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:01 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set deny host A.B.C.D
node name: R-3
22:00:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny host 10.30.0.2" \\\n-c "access-list standard10 deny host 10.30.1.2" \\\n-c "access-list standard10 permit any" \\\t\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard10 deny host 10.30.0.2" \\\n-c "access-list standard10 deny host 10.30.1.2" \\\n-c "access-list standard10 permit any" \\\t\n-c "end"\n'}
expect values: []
not expect values: []
22:00:06 test_sonic.run_scenario L0244 INFO |
execute command result:
/bin/sh: 5: -c: not found
22:00:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
/bin/sh: 5: -c: not found
22:00:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:00:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:12 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:00:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:00:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:00:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:47:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:47:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:47:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:47:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:47:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:47:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:47:35
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:51
22:00:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:00:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:47:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:47:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:47:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:47:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:47:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:47:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:47:35
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:51
22:00:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:00:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:00:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:00:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:47:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:47:24
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:47:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:47:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:47:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:06
22:00:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:00:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:47:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:47:24
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:47:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:47:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:47:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:06
22:00:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:00:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:00:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:34 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:00:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:00:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:00:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:48:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:48:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:48:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:48:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:48:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:48:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:47:57
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:13
22:00:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:00:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:48:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:48:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:48:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:48:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:48:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:48:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:47:57
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:13
22:00:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:00:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:00:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:00:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:47:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:47:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:47:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:47:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:47:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:28
22:00:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:00:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:47:57
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:47:52
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:47:46
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:47:41
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:47:35
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:47:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:28
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:28
22:00:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:00:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:50 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:00:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:00:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:00:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:00:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:00:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:00:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:00:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:01 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:01:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:01:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:01:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:48:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:48:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:48:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:48:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:48:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:48:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:48:24
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:40
22:01:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:01:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:47
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:48:47
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:48:41
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:48:35
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:48:35
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:48:30
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:48:30
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:48:24
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:40
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:40
22:01:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:01:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:01:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:01:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:48:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:48:13
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:48:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:48:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:48:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:55
22:01:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:01:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:24
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:48:19
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:48:13
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:48:08
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:48:02
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:48:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:56:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:56:55
22:01:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:01:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:01:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:01:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:01:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:01:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:01:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:01:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:49:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:49:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:49:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:49:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:49:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:49:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:49:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:48:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:13
22:01:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:01:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:49:20
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:49:20
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:49:14
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:49:08
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:49:08
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:49:03
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:49:03
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:48:57
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:13
22:01:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:01:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:01:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:01:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:48:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:48:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:48:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:48:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:48:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:27
22:01:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:01:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:48:56
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:48:51
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:48:45
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:48:40
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:48:34
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:48:34
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:57:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:57:27
22:01:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:01:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:50 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:01:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:01:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:01:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:01:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:01:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list standard
node name: R-3
22:01:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:01:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
22:02:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip next-hop prefix-list
node name: R-3
22:02:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "match ip next-hop prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - Default
node name: R-3
22:02:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.2/32" \\\n-c "ip prefix-list PREFIX10 deny 10.30.1.2/32" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.2/32" \\\n-c "ip prefix-list PREFIX10 deny 10.30.1.2/32" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:02:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:02:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:02:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:02:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:49:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:49:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:49:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:49:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:49:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:02
22:02:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:02:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:49:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:49:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:49:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:49:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:49:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:02
22:02:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:02:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:02:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:02:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:49:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:49:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:49:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:49:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:49:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:49:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:16
22:02:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:02:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:49:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:49:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:49:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:49:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:49:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:49:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:16
22:02:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:02:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:39 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:02:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:02:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:02:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:02:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:02:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:02:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:02:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:02:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:50:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:50:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:50:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:50:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:50:08
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:24
22:02:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:02:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:50:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:50:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:50:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:50:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:50:08
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:24
22:02:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:02:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:02:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:02:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:50:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:49:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:49:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:49:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:49:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:38
22:02:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:02:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:50:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:49:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:49:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:49:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:49:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:58:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:58:38
22:02:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:02:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:02:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:01 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:03:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:03:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:12 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:03:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:03:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:03:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:50:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:50:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:50:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:50:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:50:35
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:51
22:03:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:03:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:50:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:50:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:50:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:50:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:50:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:50:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:50:35
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:51
22:03:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:03:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:03:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:03:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:50:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:50:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:50:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:50:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:50:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:06
22:03:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:03:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:50:35
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:50:30
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:50:24
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:50:19
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:50:13
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:50:13
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:06
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:06
22:03:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:03:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:03:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:03:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:39 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:03:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:03:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:03:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:03:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:03:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:03:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:03:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:03:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:51:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:51:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:51:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:51:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:51:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:51:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:51:08
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:24
22:03:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:03:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:31
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:51:31
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:51:25
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:51:19
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:51:19
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:51:14
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:51:14
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:51:08
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:24
22:03:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:03:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:03:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:03:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:51:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:50:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:50:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:50:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:50:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:38
22:03:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:03:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:51:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:50:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:50:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:50:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:50:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 01:59:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 01:59:38
22:03:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:03:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:03:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:04:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:04:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge & le
node name: R-3
22:04:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.0/23 ge 24 le 32" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.0/23 ge 24 le 32" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:04:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:04:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:04:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:04:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:51:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:51:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:51:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:51:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:51:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:02
22:04:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:04:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:51:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:51:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:51:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:51:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:51:46
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:02
22:04:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:04:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:04:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:04:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:51:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:51:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:51:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:51:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:51:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:16
22:04:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:04:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:51:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:51:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:51:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:51:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:51:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:51:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:16
22:04:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:04:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:04:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:04:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:04:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:04:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:04:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:04:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:04:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:04:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:52:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:52:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:52:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:52:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:52:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:23
22:04:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:04:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:52:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:52:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:52:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:52:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:52:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:23
22:04:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:04:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:04:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:04:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:52:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:51:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:51:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:51:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:51:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:38
22:04:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:04:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:52:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:51:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:51:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:51:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:51:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:00:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:00:38
22:04:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:04:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:04:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:05:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:05:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:05:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:05:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:05:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:52:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:52:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:52:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:52:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:52:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:50
22:05:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:05:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:52:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:52:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:52:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:52:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:52:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:52:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:52:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:50
22:05:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:05:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:05:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:05:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:52:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:52:23
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:52:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:52:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:52:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:05
22:05:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:05:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:52:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:52:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:52:23
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:52:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:52:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:52:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:05
22:05:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:05:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:05:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:05:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:05:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:05:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:05:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:05:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:05:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:05:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:05:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:05:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:53:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:53:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:53:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:53:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:53:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:53:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:53:07
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:23
22:05:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:05:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:53:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:53:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:53:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:53:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:53:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:53:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:53:07
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:23
22:05:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:05:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:05:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:05:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:53:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:52:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:52:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:52:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:52:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:38
22:05:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:05:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:53:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:52:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:52:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:52:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:52:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:01:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:01:38
22:05:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:05:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:05:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:06:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:06:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD - ge
node name: R-3
22:06:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX10 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:16 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:06:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:06:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:06:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:06:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:53:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:53:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:53:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:53:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:53:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:01
22:06:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:06:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:53:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:53:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:53:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:53:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:53:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:01
22:06:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:06:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:06:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:06:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:53:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:53:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:53:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:53:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:53:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:16
22:06:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:06:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:53:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:53:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:53:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:53:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:53:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:53:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:16
22:06:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:06:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:06:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:06:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:06:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:06:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:06:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:06:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:06:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:06:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:54:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:54:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:54:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:54:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:54:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:23
22:06:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:06:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:54:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:54:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:54:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:54:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:54:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:23
22:06:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:06:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:06:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:06:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:54:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:53:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:53:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:53:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:53:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:38
22:06:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:06:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:54:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:53:56
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:53:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:53:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:53:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:02:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:02:38
22:06:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:06:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:06:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:07:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:07:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:07:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:07:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:07:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:54:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:54:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:54:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:54:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:54:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:50
22:07:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:07:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:54:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:54:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:54:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:54:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:54:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:54:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:54:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:50
22:07:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:07:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:07:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:07:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:54:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:54:23
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:54:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:54:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:54:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:05
22:07:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:07:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:54:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:54:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:54:23
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:54:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:54:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:54:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:05
22:07:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:07:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:07:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:07:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:07:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:07:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:07:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:07:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:07:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:07:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:07:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:07:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:55:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:55:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:55:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:55:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:55:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:55:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:55:07
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:23
22:07:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:07:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:55:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:55:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:55:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:55:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:55:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:55:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:55:07
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:23
22:07:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:07:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:07:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:07:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:55:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:54:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:54:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:54:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:54:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:38
22:07:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:07:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:07
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:55:02
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:54:56
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:54:51
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:54:45
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:54:45
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:03:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:03:38
22:07:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:07:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:07:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:08:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:08:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - Default
node name: R-3
22:08:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.2/32" \\\n-c "ip prefix-list PREFIX10 seq 12 deny 10.30.1.2/32" \\\n-c "ip prefix-list PREFIX10 seq 13 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.2/32" \\\n-c "ip prefix-list PREFIX10 seq 12 deny 10.30.1.2/32" \\\n-c "ip prefix-list PREFIX10 seq 13 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:16 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:08:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:08:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:08:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:08:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:55:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:55:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:55:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:55:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:55:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:01
22:08:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:08:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:55:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:55:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:55:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:55:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:55:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:01
22:08:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:08:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:08:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:08:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:55:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:55:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:55:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:55:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:55:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:16
22:08:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:08:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:55:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:55:40
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:55:34
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:55:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:55:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:55:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:16
22:08:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:08:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:08:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:08:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:08:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:08:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:08:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:08:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:08:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:08:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:56:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:56:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:56:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:56:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:56:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:23
22:08:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:08:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:56:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:56:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:56:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:56:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:56:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:23
22:08:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:08:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:08:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:08:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:56:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:55:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:55:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:55:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:55:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:37
22:08:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:08:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:56:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:55:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:55:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:55:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:55:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:04:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:04:37
22:08:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:08:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:08:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:09:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:09:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:09:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:09:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:09:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:56:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:56:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:56:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:56:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:56:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:50
22:09:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:09:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:56:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:56:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:56:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:56:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:56:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:56:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:56:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:50
22:09:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:09:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:09:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:09:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:56:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:56:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:56:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:56:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:56:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:04
22:09:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:09:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:56:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:56:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:56:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:56:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:56:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:56:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:04
22:09:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:09:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:09:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:32 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:09:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:09:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:09:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:09:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:09:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:57:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:57:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:57:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:57:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:57:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:57:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:57:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:22
22:09:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:09:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:57:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:57:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:57:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:57:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:57:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:57:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:57:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:22
22:09:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:09:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:09:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:09:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:57:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:56:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:56:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:56:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:56:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:37
22:09:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:09:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:57:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:56:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:56:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:56:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:56:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:05:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:05:37
22:09:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:09:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:09:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:09:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:09:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:09:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:09:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:09:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:10:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge & le
node name: R-3
22:10:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.0/23 ge 24 le 32" \\\n-c "ip prefix-list PREFIX10 seq 12 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.0/23 ge 24 le 32" \\\n-c "ip prefix-list PREFIX10 seq 12 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:16 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:10:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:21 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:10:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:10:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:10:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:57:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:57:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:57:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:57:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:57:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:01
22:10:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:10:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:08
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:08
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:02
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:57:56
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:57:56
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:57:51
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:57:51
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:57:45
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:01
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:01
22:10:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:10:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:10:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:10:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:44
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:57:39
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:57:33
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:57:28
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:57:22
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:57:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:15
22:10:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:10:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:57:44
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:57:39
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:57:33
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:57:28
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:57:22
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:57:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:15
22:10:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:10:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:10:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:10:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:10:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:10:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:58:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:58:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:58:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:58:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:58:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:23
22:10:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:10:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:30
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:30
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:24
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:58:18
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:58:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:58:13
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:58:13
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:58:07
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:23
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:23
22:10:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:10:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:10:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:10:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:58:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:57:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:57:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:57:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:57:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:37
22:10:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:10:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:58:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:57:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:57:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:57:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:57:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:06:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:06:37
22:10:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:10:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:10:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:10:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:10:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:10:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:10:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:10:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:11:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:11:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:11:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:11:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:58:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:58:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:58:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:58:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:58:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:50
22:11:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:11:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:57
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:58:57
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:58:51
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:58:45
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:58:45
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:58:40
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:58:40
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:58:34
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:50
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:50
22:11:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:11:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:11:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:11:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:58:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:58:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:58:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:58:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:58:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:04
22:11:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:11:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:58:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:58:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:58:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:58:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:58:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:58:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:04
22:11:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:11:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:11:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:32 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:11:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:37 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:11:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:11:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:11:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:11:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:59:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:59:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:59:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:59:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:59:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:59:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:59:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:22
22:11:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:11:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 01:59:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 01:59:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:59:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:59:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:59:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:59:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:59:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:22
22:11:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:11:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:11:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:11:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:59:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:58:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:58:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:58:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:58:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:37
22:11:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:11:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:59:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:58:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:58:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:58:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:58:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:07:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:07:37
22:11:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:11:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:11:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:11:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:11:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:11:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:11:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:11:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:12:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set ip prefix-list WORD seq NUM - ge
node name: R-3
22:12:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX10 seq 12 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list PREFIX10 seq 11 deny 10.30.0.0/23 ge 24" \\\n-c "ip prefix-list PREFIX10 seq 12 permit 0.0.0.0/0 le 32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:15 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Metric - 01 - Set
node name: R-3
22:12:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:21 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:12:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:12:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/0] via 10.1.1.10, Ethernet8']
22:12:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:59:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:59:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:59:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:59:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:59:44
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:00
22:12:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8']
22:12:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 01:59:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 01:59:55
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 01:59:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 01:59:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 01:59:44
B>* 10.10.10.7/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:00
22:12:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:12:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:12:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/0] via 10.1.1.1, Ethernet4']
22:12:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:44
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:59:39
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:59:33
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:59:28
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:59:22
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:59:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:15
22:12:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4']
22:12:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 01:59:44
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 01:59:39
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:59:33
B>* 10.10.10.7/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:59:28
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:59:22
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:59:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:15
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:15
22:12:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:12:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:37 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set
node name: R-3
22:12:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 66 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:12:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:12:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/66] via 10.1.1.10, Ethernet8']
22:12:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:00:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:00:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:00:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:00:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:00:06
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:22
22:12:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8']
22:12:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:00:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:00:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:00:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:00:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:00:06
B>* 10.10.10.7/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/66] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:22
22:12:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:12:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:12:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/66] via 10.1.1.1, Ethernet4']
22:12:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:00:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:59:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:59:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:59:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:59:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:37
22:12:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4']
22:12:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:00:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 01:59:55
B>* 10.10.10.7/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/66] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 01:59:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 01:59:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 01:59:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:08:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:08:37
22:12:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:12:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:12:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:12:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:12:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:12:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:12:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:12:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:04 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:13:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:13:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:13:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:13:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:56
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:56
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:50
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:00:44
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:00:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:00:39
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:00:39
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:00:33
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:49
22:13:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:13:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:56
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:00:56
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:00:50
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:00:44
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:00:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:00:39
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:00:39
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:00:33
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:10:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:10:49
22:13:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:13:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:13:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:13:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:00:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:00:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:00:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:00:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:04
22:13:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:13:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:00:33
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:00:28
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:00:22
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:00:17
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:00:11
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:04
22:13:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:13:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:26 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:13:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:31 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:13:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:37 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Redistribute Metric Set - 01 - Set metric
node name: R-3
22:13:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static metric 33 route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:42 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-1
22:13:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:13:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
not expect values: ['B>* 11.11.11.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 11.11.11.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 12.12.12.9/32 [20/77] via 10.1.1.10, Ethernet8']
22:13:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:01:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:01:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:01:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:01:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:01:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:01:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:01:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:01:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:11:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:11:22
22:13:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8', 'B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8']
22:13:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:01:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:01:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:01:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:01:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:01:17
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:01:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:01:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:01:06
B>* 10.10.10.7/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.8/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.9/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.10/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.11/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 10.10.10.12/32 [20/77] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:11:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:11:22
22:13:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification
node name: R-2
22:13:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:13:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
not expect values: ['B>* 11.11.11.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 11.11.11.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 12.12.12.9/32 [200/77] via 10.1.1.1, Ethernet4']
22:13:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:01:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:01:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:00:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:00:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:00:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:00:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:37
22:13:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4', 'B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4']
22:13:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:01:06
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:01:01
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:00:55
B>* 10.10.10.7/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.8/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.9/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.10/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.11/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 10.10.10.12/32 [200/77] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:00:50
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:00:44
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:00:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:09:37
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:09:37
22:13:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete metric
node name: R-3
22:13:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 1" \\\n-c "no set metric 77" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:13:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:13:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:13:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:13:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Delete
node name: R-3
22:13:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:13:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:04 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete ip prefix-list WORD
node name: R-3
22:14:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list PREFIX10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
22:14:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP permit 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:15 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-1
22:14:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:21 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-2
22:14:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:26 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02 - Delete
node name: R-3
22:14:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 10.10.10.7/32 10.1.3.1" \\\n-c "no ip route 10.10.10.8/32 10.1.3.1" \\\n-c "no ip route 10.10.10.9/32 10.1.3.1" \\\n-c "no ip route 10.10.10.10/32 10.1.3.1" \\\n-c "no ip route 10.10.10.11/32 10.1.3.1" \\\n-c "no ip route 10.10.10.12/32 10.1.3.1" \\\n-c "no ip route 11.11.11.7/32 10.30.0.2" \\\n-c "no ip route 11.11.11.8/32 10.30.0.2" \\\n-c "no ip route 11.11.11.9/32 10.30.0.2" \\\n-c "no ip route 12.12.12.7/32 10.30.1.2" \\\n-c "no ip route 12.12.12.8/32 10.30.1.2" \\\n-c "no ip route 12.12.12.9/32 10.30.1.2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 10.10.10.7/32 10.1.3.1" \\\n-c "no ip route 10.10.10.8/32 10.1.3.1" \\\n-c "no ip route 10.10.10.9/32 10.1.3.1" \\\n-c "no ip route 10.10.10.10/32 10.1.3.1" \\\n-c "no ip route 10.10.10.11/32 10.1.3.1" \\\n-c "no ip route 10.10.10.12/32 10.1.3.1" \\\n-c "no ip route 11.11.11.7/32 10.30.0.2" \\\n-c "no ip route 11.11.11.8/32 10.30.0.2" \\\n-c "no ip route 11.11.11.9/32 10.30.0.2" \\\n-c "no ip route 12.12.12.7/32 10.30.1.2" \\\n-c "no ip route 12.12.12.8/32 10.30.1.2" \\\n-c "no ip route 12.12.12.9/32 10.30.1.2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:32 test_sonic.run_scenario L0244 INFO |
execute command result:
22:14:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:14:32 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Redistribute Static By RouteMap - continue Function
22:14:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set Default
node name: R-2
22:14:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.20.1.1" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:37 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:14:40 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.945 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.922 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.864 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.864/0.910/0.945/0.034 ms
22:14:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.20.1.1
neighbor 10.1.1.1 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set Default
node name: R-1
22:14:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "bgp router-id 10.10.1.1" \\\n-c "neighbor 10.1.1.2 remote-as 100" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "neighbor 10.1.1.2 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:45 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:14:47 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.767 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.836 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.01 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032ms
rtt min/avg/max/mdev = 0.767/0.871/1.010/0.102 ms
22:14:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
bgp router-id 10.10.1.1
neighbor 10.1.1.2 remote-as 100
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
neighbor 10.1.1.2 next-hop-self
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default01-Set Default
node name: R-3
22:14:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 1.2.1.0/24 10.1.3.1" \\\n-c "ip route 1.2.2.0/24 10.1.3.1" \\\n-c "ip route 1.3.1.0/24 10.30.0.2" \\\n-c "ip route 1.3.2.0/24 10.30.0.2" \\\n-c "ip route 1.4.1.0/24 10.30.1.2" \\\n-c "ip route 1.4.2.0/24 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 1.2.1.0/24 10.1.3.1" \\\n-c "ip route 1.2.2.0/24 10.1.3.1" \\\n-c "ip route 1.3.1.0/24 10.30.0.2" \\\n-c "ip route 1.3.2.0/24 10.30.0.2" \\\n-c "ip route 1.4.1.0/24 10.30.1.2" \\\n-c "ip route 1.4.2.0/24 10.30.1.2" \\\n-c "router bgp 300" \\\n-c "bgp router-id 10.30.1.1" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:14:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:14:53 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:14:55 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.792 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=1.07 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.857 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2017ms
rtt min/avg/max/mdev = 0.792/0.905/1.068/0.117 ms
22:14:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:14:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-1
22:14:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:14:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
22:15:01 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:15 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:07 0 0 N/A
Total number of neighbors 2
22:15:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 100', '10.1.1.10 4 300', 'Total number of neighbors 2']
22:15:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.10.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 100 3 3 0 0 0 00:00:15 0 0 FRRouting/10.3
10.1.1.10 4 300 3 3 0 0 0 00:00:07 0 0 N/A
Total number of neighbors 2
22:15:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-2
22:15:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.1 4 100', 'Total number of neighbors 1']
not expect values: []
22:15:06 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
22:15:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', 'Total number of neighbors 1']
22:15:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.20.1.1, local AS number 100 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 3 3 0 0 0 00:00:20 0 0 FRRouting/10.3
Total number of neighbors 1
22:15:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default02-Verification
node name: R-3
22:15:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.9 4 100', 'Total number of neighbors 1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.9 4 100', 'Total number of neighbors 1']
not expect values: []
22:15:12 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:18 0 0 N/A
Total number of neighbors 1
22:15:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.9 4 100', 'Total number of neighbors 1']
22:15:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.30.1.1, local AS number 300 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.9 4 100 3 3 0 0 0 00:00:18 0 0 N/A
Total number of neighbors 1
22:15:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set match ip address
node name: R-3
22:15:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address 1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address 2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address 1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address 2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:15:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:15:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set for match ip address
node name: R-3
22:15:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 1.3.1.0 0.0.0.255" \\\n-c "access-list 2 permit 1.3.2.0 0.0.0.255" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 1.3.1.0 0.0.0.255" \\\n-c "access-list 2 permit 1.3.2.0 0.0.0.255" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:15:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:15:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set redistribute static route-map
node name: R-3
22:15:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address 1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address 2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 permit 1.3.1.0 0.0.0.255
access-list 2 seq 5 permit 1.3.2.0 0.0.0.255
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:15:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address 1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address 2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 1 seq 5 permit 1.3.1.0 0.0.0.255
access-list 2 seq 5 permit 1.3.2.0 0.0.0.255
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:15:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification
node name: R-1
22:15:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
not expect values: []
22:15:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:03:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:03:08
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:03:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:03:02
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:02:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:02:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:02:51
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:07
22:15:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
22:15:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:14
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:03:14
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:03:08
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:03:02
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:03:02
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:02:57
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:02:57
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:02:51
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:07
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:07
22:15:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification
node name: R-2
22:15:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
not expect values: []
22:15:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:02:51
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:02:46
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:02:40
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:02:35
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:02:29
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:02:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:11:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:11:22
22:15:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
22:15:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:02:51
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:02:46
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:02:40
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:02:35
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:02:29
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:02:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:11:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:11:22
22:15:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:15:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:15:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:15:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete for match ip address
node name: R-3
22:15:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "no access-list 2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "no access-list 2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:50 test_sonic.run_scenario L0244 INFO |
execute command result:
22:15:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:15:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:15:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:15:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:15:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:15:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:15:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set match ip address
node name: R-3
22:15:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address standard1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address standard2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:15:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address standard1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address standard2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:00 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set for match ip address
node name: R-3
22:16:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard1 permit 1.3.1.0 0.0.0.255" \\\n-c "access-list standard2 permit 1.3.2.0 0.0.0.255" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard1 permit 1.3.1.0 0.0.0.255" \\\n-c "access-list standard2 permit 1.3.2.0 0.0.0.255" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set redistribute static route-map
node name: R-3
22:16:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address standard1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address standard2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 permit 1.3.1.0 0.0.0.255
access-list standard2 seq 5 permit 1.3.2.0 0.0.0.255
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:16:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address standard1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address standard2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard1 seq 5 permit 1.3.1.0 0.0.0.255
access-list standard2 seq 5 permit 1.3.2.0 0.0.0.255
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:16:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification
node name: R-1
22:16:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
not expect values: []
22:16:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:03:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:03:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:03:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:03:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:03:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:03:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:03:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:51
22:16:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
22:16:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:58
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:03:58
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:03:52
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:03:46
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:03:46
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:03:41
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:03:41
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:03:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:51
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:51
22:16:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification
node name: R-2
22:16:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
not expect values: []
22:16:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:03:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:03:23
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:03:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:03:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:03:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:12:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:12:05
22:16:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
22:16:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:10
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:03:34
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:03:29
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:03:23
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:03:18
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:03:12
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:03:12
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:12:05
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:12:05
22:16:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:16:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete for match ip address
node name: R-3
22:16:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "no access-list standard2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard1" \\\n-c "no access-list standard2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:16:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:39 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip next-hop
node name: R-3
22:16:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop 10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop 20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop 10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop 20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Set for match ip next-hop
node name: R-3
22:16:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 10 permit 10.1.3.1" \\\n-c "access-list 20 permit 10.30.1.2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 10 permit 10.1.3.1" \\\n-c "access-list 20 permit 10.30.1.2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:49 test_sonic.run_scenario L0244 INFO |
execute command result:
22:16:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:16:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set redistribute static route-map
node name: R-3
22:16:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:16:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop 10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop 20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 permit 10.1.3.1
access-list 20 seq 5 permit 10.30.1.2
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:16:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:16:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop 10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop 20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list 10 seq 5 permit 10.1.3.1
access-list 20 seq 5 permit 10.30.1.2
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:16:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-1
22:16:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:16:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
not expect values: []
22:17:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:04:41
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:04:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:04:35
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:04:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:04:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:04:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:04:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:04:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:14:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:14:34
22:17:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
22:17:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:04:41
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:04:41
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:04:35
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:04:29
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:04:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:04:24
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:04:24
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:04:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:14:34
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:14:34
22:17:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-2
22:17:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
not expect values: []
22:17:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:04:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:04:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:04:07
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:04:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:03:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:03:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:12:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:12:49
22:17:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
22:17:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:04:18
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:04:13
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:04:07
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:04:02
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:03:56
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:03:56
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:12:49
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:12:49
22:17:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:17:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:11 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete for match ip next-hop
node name: R-3
22:17:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "no access-list 20" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 10" \\\n-c "no access-list 20" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:17:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set match ip next-hop
node name: R-3
22:17:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop standard10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop standard20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop standard10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop standard20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Set for match ip next-hop
node name: R-3
22:17:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list standard10 permit 10.1.3.1" \\\n-c "access-list standard20 permit 10.30.1.2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list standard10 permit 10.1.3.1" \\\n-c "access-list standard20 permit 10.30.1.2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:34 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set redistribute static route-map
node name: R-3
22:17:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop standard10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop standard20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard10 seq 5 permit 10.1.3.1
access-list standard20 seq 5 permit 10.30.1.2
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:17:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop standard10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop standard20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
access-list standard10 seq 5 permit 10.1.3.1
access-list standard20 seq 5 permit 10.30.1.2
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:17:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-1
22:17:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
not expect values: []
22:17:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:25
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:05:25
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:05:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:05:13
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:05:13
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:05:08
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:05:08
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:05:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:15:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:15:18
22:17:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
22:17:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:25
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:05:25
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:05:19
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:05:13
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:05:13
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:05:08
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:05:08
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:05:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:15:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:15:18
22:17:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-2
22:17:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
not expect values: []
22:17:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:02
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:04:57
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:04:51
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:04:46
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:04:40
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:04:40
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:33
22:17:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
22:17:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:02
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:04:57
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:04:51
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:04:46
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:04:40
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:04:40
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:13:33
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:13:33
22:17:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:17:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:17:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:17:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:17:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:17:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete for match ip next-hop
node name: R-3
22:17:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "no access-list standard20" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:17:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list standard10" \\\n-c "no access-list standard20" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:01 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:18:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:06 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set match ip address
node name: R-3
22:18:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address prefix-list P-PERMIT-1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address prefix-list P-PERMIT-2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip address prefix-list P-PERMIT-1" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip address prefix-list P-PERMIT-2" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:12 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set for match ip address
node name: R-3
22:18:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list P-PERMIT-1 permit 1.3.1.0/24" \\\n-c "ip prefix-list P-PERMIT-2 permit 1.3.2.0/24" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list P-PERMIT-1 permit 1.3.1.0/24" \\\n-c "ip prefix-list P-PERMIT-2 permit 1.3.2.0/24" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set redistribute static route-map
node name: R-3
22:18:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list P-PERMIT-1 seq 5 permit 1.3.1.0/24
ip prefix-list P-PERMIT-2 seq 5 permit 1.3.2.0/24
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address prefix-list P-PERMIT-1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address prefix-list P-PERMIT-2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:18:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list P-PERMIT-1 seq 5 permit 1.3.1.0/24
ip prefix-list P-PERMIT-2 seq 5 permit 1.3.2.0/24
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip address prefix-list P-PERMIT-1
on-match goto 20
exit
!
route-map RMAP permit 12
match ip address prefix-list P-PERMIT-2
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:18:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification ip address
node name: R-1
22:18:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
not expect values: []
22:18:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:06:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:06:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:05:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:05:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:05:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:05:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:05:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:16:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:16:02
22:18:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8']
22:18:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:09
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:06:09
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:06:03
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:05:57
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:05:57
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:05:52
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:05:52
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:05:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:16:02
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:16:02
22:18:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Verification ip address
node name: R-2
22:18:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
not expect values: []
22:18:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:05:41
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:05:35
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:05:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:05:24
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:05:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:14:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:14:17
22:18:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4']
22:18:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:05:46
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:05:41
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:05:35
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:05:30
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:05:24
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:05:24
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:14:17
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:14:17
22:18:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:18:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:39 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete for match ip address
node name: R-3
22:18:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list P-PERMIT-1" \\\n-c "no ip prefix-list P-PERMIT-2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list P-PERMIT-1" \\\n-c "no ip prefix-list P-PERMIT-2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:18:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:50 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set match ip next-hop
node name: R-3
22:18:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop prefix-list P-PERMIT-10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop prefix-list P-PERMIT-20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map RMAP permit 10" \\\n-c "match ip next-hop prefix-list P-PERMIT-10" \\\n-c "continue 20" \\\n-c "route-map RMAP permit 12" \\\n-c "match ip next-hop prefix-list P-PERMIT-20" \\\n-c "continue 22" \\\n-c "route-map RMAP permit 18" \\\n-c "set metric 3" \\\n-c "route-map RMAP permit 20" \\\n-c "set metric 4" \\\n-c "route-map RMAP permit 22" \\\n-c "set metric 6" \\\n-c "route-map RMAP permit 24" \\\n-c "set metric 8" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:18:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:18:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:18:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:18:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 03 - Set for match ip next-hop
node name: R-3
22:18:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list P-PERMIT-10 permit 10.1.3.1/32" \\\n-c "ip prefix-list P-PERMIT-20 permit 10.30.1.2/32" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:18:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list P-PERMIT-10 permit 10.1.3.1/32" \\\n-c "ip prefix-list P-PERMIT-20 permit 10.30.1.2/32" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:01 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 01 - Set redistribute static route-map
node name: R-3
22:19:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "redistribute static route-map RMAP" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list P-PERMIT-10 seq 5 permit 10.1.3.1/32
ip prefix-list P-PERMIT-20 seq 5 permit 10.30.1.2/32
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop prefix-list P-PERMIT-10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop prefix-list P-PERMIT-20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:19:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list P-PERMIT-10 seq 5 permit 10.1.3.1/32
ip prefix-list P-PERMIT-20 seq 5 permit 10.30.1.2/32
!
route-map permit-all permit 10
exit
!
route-map RMAP permit 10
match ip next-hop prefix-list P-PERMIT-10
on-match goto 20
exit
!
route-map RMAP permit 12
match ip next-hop prefix-list P-PERMIT-20
on-match goto 22
exit
!
route-map RMAP permit 18
set metric 3
exit
!
route-map RMAP permit 20
set metric 4
exit
!
route-map RMAP permit 22
set metric 6
exit
!
route-map RMAP permit 24
set metric 8
exit
!
password zebra
enable password zebra
!
ip route 1.2.1.0/24 10.1.3.1
ip route 1.2.2.0/24 10.1.3.1
ip route 1.3.1.0/24 10.30.0.2
ip route 1.3.2.0/24 10.30.0.2
ip route 1.4.1.0/24 10.30.1.2
ip route 1.4.2.0/24 10.30.1.2
!
router bgp 300
bgp router-id 10.30.1.1
neighbor 10.1.1.9 remote-as 100
!
address-family ipv4 unicast
redistribute static route-map RMAP
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:19:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-1
22:19:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
not expect values: []
22:19:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:06:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:06:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:06:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:06:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:06:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:06:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:06:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:16:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:16:45
22:19:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8', 'B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8', 'B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8', 'B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8']
22:19:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.2.2.0/24 [20/4] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.1.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.3.2.0/24 [20/3] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.1.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
B>* 1.4.2.0/24 [20/6] via 10.1.1.10, Ethernet8, weight 1, 00:00:05
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:52
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:06:52
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:06:46
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:06:40
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:06:40
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:06:35
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:06:35
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:06:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:16:45
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:16:45
22:19:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Verification ip next-hop
node name: R-2
22:19:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
not expect values: []
22:19:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:06:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:06:18
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:06:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:06:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:06:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:15:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:15:00
22:19:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4', 'B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4', 'B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4', 'B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4']
22:19:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
B>* 1.2.1.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.2.2.0/24 [200/4] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.1.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.3.2.0/24 [200/3] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.1.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
B>* 1.4.2.0/24 [200/6] via 10.1.1.1, Ethernet4, weight 1, 00:00:11
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:06:29
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:06:24
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:06:18
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:06:13
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:06:07
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:06:07
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:15:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:15:00
22:19:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete redistribute static
node name: R-3
22:19:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no redistribute static" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 04 - Delete for match ip address
node name: R-3
22:19:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list P-PERMIT-10" \\\n-c "no ip prefix-list P-PERMIT-20" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list P-PERMIT-10" \\\n-c "no ip prefix-list P-PERMIT-20" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:28 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete RouteMap
node name: R-3
22:19:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map RMAP" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:33 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete Default
node name: R-1
22:19:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete Default
node name: R-2
22:19:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: 02 - Delete Default
node name: R-3
22:19:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 1.2.1.0/24 10.1.3.1" \\\n-c "no ip route 1.2.2.0/24 10.1.3.1" \\\n-c "no ip route 1.3.1.0/24 10.30.0.2" \\\n-c "no ip route 1.3.2.0/24 10.30.0.2" \\\n-c "no ip route 1.4.1.0/24 10.30.1.2" \\\n-c "no ip route 1.4.2.0/24 10.30.1.2" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "no ip route 1.2.1.0/24 10.1.3.1" \\\n-c "no ip route 1.2.2.0/24 10.1.3.1" \\\n-c "no ip route 1.3.1.0/24 10.30.0.2" \\\n-c "no ip route 1.3.2.0/24 10.30.0.2" \\\n-c "no ip route 1.4.1.0/24 10.30.1.2" \\\n-c "no ip route 1.4.2.0/24 10.30.1.2" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:49 test_sonic.run_scenario L0244 INFO |
execute command result:
22:19:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:19:49 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:AS-Path Attribute Function
22:19:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-1
22:19:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.0/30" \\\n-c "network 10.1.1.4/30" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.0/30" \\\n-c "network 10.1.1.4/30" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:19:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.1.1.0/30
network 10.1.1.4/30
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:19:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:19:55 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:19:57 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.951 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.917 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.993 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.917/0.953/0.993/0.031 ms
22:19:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.1.1.0/30
network 10.1.1.4/30
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:19:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-2
22:19:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:19:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:20:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:03 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:20:05 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.937 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.818 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.818/0.939/1.064/0.100 ms
22:20:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-3
22:20:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:20:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:10 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:20:13 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.721 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.847 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.990 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2050ms
rtt min/avg/max/mdev = 0.721/0.852/0.990/0.109 ms
22:20:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-4
22:20:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:20:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:18 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:20:21 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.751 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=1.06 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.764 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2021ms
rtt min/avg/max/mdev = 0.751/0.859/1.063/0.144 ms
22:20:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:20:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:20:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
22:20:26 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 8 0 0 00:00:22 5 8 N/A
10.1.1.10 4 300 8 7 8 0 0 00:00:15 5 8 N/A
Total number of neighbors 2
22:20:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
22:20:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 8
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 7 7 8 0 0 00:00:22 5 8 N/A
10.1.1.10 4 300 8 7 8 0 0 00:00:15 5 8 N/A
Total number of neighbors 2
22:20:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:20:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:20:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']
not expect values: []
22:20:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
Displayed 8 routes and 13 total paths
22:20:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']
22:20:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
Displayed 8 routes and 13 total paths
22:20:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:20:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:20:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:20:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:08:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:08:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:08:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:08:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:08:06
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:08:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:08:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:07:55
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:11
22:20:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:20:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:08:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:08:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:08:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:08:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:08:06
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:08:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:08:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:07:55
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:16
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:11
22:20:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set bgp as-path access-list
node name: R-2
22:20:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny ^$" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 deny ^$" \\\n-c "bgp as-path access-list 1 permit .*" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:20:42 test_sonic.run_scenario L0244 INFO |
execute command result:
22:20:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:20:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-2
22:20:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map as-prepend permit 10" \\\n-c "match as-path 1" \\\n-c "set as-path prepend 200 200 200" \\\n-c "route-map as-prepend permit 20" \\\n-c "description empty_route-map" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map as-prepend permit 10" \\\n-c "match as-path 1" \\\n-c "set as-path prepend 200 200 200" \\\n-c "route-map as-prepend permit 20" \\\n-c "description empty_route-map" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:20:48 test_sonic.run_scenario L0244 INFO |
execute command result:
22:20:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:20:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-2
22:20:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 route-map as-prepend out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:20:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 route-map as-prepend out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
22:20:53 test_sonic.run_scenario L0244 INFO |
execute command result:
22:20:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:20:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:20:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:20:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 200 200 200 200 300 i', '10.1.1.2 0 200 200 200 200 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:20:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.2 0 200 200 200 200 300 i', '10.1.1.2 0 200 200 200 200 400 i']
not expect values: []
22:20:59 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.40.0.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i
*> 10.40.1.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i
Displayed 8 routes and 13 total paths
22:20:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 200 200 200 200 300 i', '10.1.1.2 0 200 200 200 200 400 i']
22:20:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 200 200 200 300 i
*> 10.40.0.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i
*> 10.40.1.0/24 10.1.1.10 0 300 200 400 i
* 10.1.1.2 0 200 200 200 200 400 i
Displayed 8 routes and 13 total paths
22:20:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:20:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:20:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: []
22:21:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:08:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:08:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:08:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:08:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:08:33
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:08:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:08:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:08:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:38
22:21:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
22:21:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:08:45
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:08:45
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:08:39
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:08:33
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:08:33
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:59
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:08:28
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:08:28
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:08:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:38
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:38
22:21:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-2
22:21:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 route-map as-prepend out" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.1.1 route-map as-prepend out" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.1 soft out"\n'}
expect values: []
not expect values: []
22:21:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-2
22:21:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map as-prepend" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map as-prepend" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:15 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete bgp as-path access-list
node name: R-2
22:21:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:21 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:21:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp summary"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp summary"'}
expect values: ['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
not expect values: []
22:21:26 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 12
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 16 10 12 0 0 00:01:22 5 8 N/A
10.1.1.10 4 300 9 10 12 0 0 00:01:15 5 8 N/A
Total number of neighbors 2
22:21:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200', '10.1.1.10 4 300', 'Total number of neighbors 2']
22:21:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 12
RIB entries 15, using 1920 bytes of memory
Peers 2, using 47 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 16 10 12 0 0 00:01:22 5 8 N/A
10.1.1.10 4 300 9 10 12 0 0 00:01:15 5 8 N/A
Total number of neighbors 2
22:21:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:21:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:21:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']
not expect values: []
22:21:32 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 12, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
Displayed 8 routes and 13 total paths
22:21:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 i', '10.1.1.2 0 200 300 i', '10.1.1.2 0 200 400 i']
22:21:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 12, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.0/30 0.0.0.0 0 32768 i
*> 10.1.1.4/30 0.0.0.0 0 32768 i
*> 10.1.3.0/24 10.1.1.2 0 0 200 i
* 10.1.1.10 0 300 200 i
*> 10.10.1.0/24 0.0.0.0 0 32768 i
*> 10.30.0.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.30.1.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 200 300 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
* 10.1.1.10 0 300 200 400 i
Displayed 8 routes and 13 total paths
22:21:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:21:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:21:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:21:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:09:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:09:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:09:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:09:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:09:06
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:09:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:09:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:08:55
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:19:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:19:11
22:21:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:21:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:09:18
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:09:18
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:09:12
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:09:06
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:09:06
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:32
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:09:01
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:09:01
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:08:55
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:25
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:25
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:27
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:19:11
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:19:11
22:21:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-1
22:21:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:42 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-2
22:21:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:48 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-3
22:21:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:53 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-4
22:21:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:21:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:21:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:21:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:21:59 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Origin Attribute Function
22:21:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-1
22:21:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.0/30" \\\n-c "network 10.1.1.4/30" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:21:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 300" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.0/30" \\\n-c "network 10.1.1.4/30" \\\n-c "network 10.10.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:22:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.1.1.0/30
network 10.1.1.4/30
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:22:04 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:22:06 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.910 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.830 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.986 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.830/0.908/0.986/0.063 ms
22:22:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 300
!
address-family ipv4 unicast
network 10.1.1.0/30
network 10.1.1.4/30
network 10.10.1.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-2
22:22:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:22:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:22:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:22:12 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:22:14 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.830 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.859 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.930 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.830/0.873/0.930/0.042 ms
22:22:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 300
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-3
22:22:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:22:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "network 10.1.3.0/24" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:22:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:22:20 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:22:22 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=1.14 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.696 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.649 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.649/0.829/1.143/0.222 ms
22:22:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 300
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
network 10.1.3.0/24
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-4
22:22:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "redistribute connected" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:22:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "redistribute connected" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 300" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:22:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
redistribute connected
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:22:27 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:22:30 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.853 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.934 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.934 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.853/0.907/0.934/0.038 ms
22:22:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 300
!
address-family ipv4 unicast
redistribute connected
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:22:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:22:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:22:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
not expect values: []
22:22:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.4.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
22:22:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.4.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:22:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:22:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
not expect values: []
22:22:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
22:22:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:22:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:22:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
not expect values: []
22:22:46 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.1.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 200 400 ?', '10.1.1.10 0 300 400 ?', 'Displayed 1 routes and 17 total paths']
22:22:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 10, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.1.0/24 10.1.1.2 0 200 400 ?
* 10.1.1.10 0 300 400 ?
Displayed 1 routes and 17 total paths
22:22:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set Redistribute connected
node name: R-2
22:22:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no network 10.1.3.0/24" \\\n-c "redistribute connected" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:22:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no network 10.1.3.0/24" \\\n-c "redistribute connected" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:22:52 test_sonic.run_scenario L0244 INFO |
execute command result:
22:22:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:22:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:22:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:22:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:22:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"'}
expect values: ['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:22:57 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?
Displayed 1 routes and 23 total paths
22:22:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']
22:22:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?
Displayed 1 routes and 23 total paths
22:22:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:22:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:22:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:23:03 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:23:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
22:23:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:23:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:23:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:23:08 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:23:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
22:23:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 14, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:23:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:23:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:23:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:10:55
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:10:55
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:10:49
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:10:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:10:43
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B>* 10.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:10:38
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:10:38
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:10:32
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:20:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:20:48
22:23:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:23:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:10:55
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:10:55
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:10:49
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:10:43
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:10:43
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B>* 10.1.4.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:10:38
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:10:38
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:10:32
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:52
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:44
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:20:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:20:48
22:23:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set bgp as-path access-list
node name: R-3
22:23:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 permit ^400$" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:23:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "bgp as-path access-list 1 permit ^400$" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:23:19 test_sonic.run_scenario L0244 INFO |
execute command result:
22:23:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:23:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:23:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-3
22:23:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-ORIGIN permit 10" \\\n-c "match as-path 1" \\\n-c "set origin egp" \\\n-c "route-map SET-ORIGIN permit 20" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:23:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-ORIGIN permit 10" \\\n-c "match as-path 1" \\\n-c "set origin egp" \\\n-c "route-map SET-ORIGIN permit 20" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:23:24 test_sonic.run_scenario L0244 INFO |
execute command result:
22:23:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:23:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:23:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-3
22:23:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 route-map SET-ORIGIN out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.9 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:23:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "neighbor 10.1.1.9 route-map SET-ORIGIN out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.9 soft out"\n'}
expect values: []
not expect values: []
22:23:30 test_sonic.run_scenario L0244 INFO |
execute command result:
22:23:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:23:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:23:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:23:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 300 400 e']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.1.4.0/24 longer-prefixes"'}
expect values: ['10.1.1.10 0 300 400 e']
not expect values: []
22:23:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.4.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 300 400 e']
22:23:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.4.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:23:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 300 400 e']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24 longer-prefixes"'}
expect values: ['10.1.1.10 0 300 400 e']
not expect values: []
22:23:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 300 400 e']
22:23:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:23:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 300 400 e']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24 longer-prefixes"'}
expect values: ['10.1.1.10 0 300 400 e']
not expect values: []
22:23:46 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.1.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 300 400 e']
22:23:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.1.0/24 10.1.1.10 0 300 400 e
* 10.1.1.2 0 200 400 ?
Displayed 1 routes and 23 total paths
22:23:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:23:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:23:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: []
22:23:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:11:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:11:33
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:11:27
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:11:21
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:11:21
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:00
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:11:16
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:11:16
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:11:10
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:30
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:30
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:21:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:21:26
22:23:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8']
22:23:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:11:33
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:11:33
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:11:27
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:11:21
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:11:21
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:00
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:11:16
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:11:16
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:11:10
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:30
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:30
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:22
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:00
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:21:26
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:21:26
22:23:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-3
22:23:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no neighbor 10.1.1.9 route-map SET-ORIGIN out" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.9 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:23:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 300" \\\n-c "no neighbor 10.1.1.9 route-map SET-ORIGIN out" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.9 soft out"\n'}
expect values: []
not expect values: []
22:23:57 test_sonic.run_scenario L0244 INFO |
execute command result:
22:23:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:23:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:23:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
22:23:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-ORIGIN" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:23:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-ORIGIN" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:02 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete bgp as-path access-list
node name: R-3
22:24:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no bgp as-path access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:08 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:24:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:24:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.1.3.0/24 longer-prefixes"'}
expect values: ['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:24:13 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?
Displayed 1 routes and 23 total paths
22:24:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 0 300 i', '10.1.1.2 0 0 200 ?', 'Displayed 1 routes and 23 total paths']
22:24:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 0 300 i
* 10.1.1.2 0 0 200 ?
Displayed 1 routes and 23 total paths
22:24:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:24:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:24:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.20.0.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:24:19 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:24:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
22:24:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.0.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:24:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:24:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:24:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.20.1.0/24 longer-prefixes"'}
expect values: ['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
not expect values: []
22:24:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:24:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 0 0 200 ?', '10.1.1.10 0 300 200 ?', 'Displayed 1 routes and 23 total paths']
22:24:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 20, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.20.1.0/24 10.1.1.2 0 0 200 ?
* 10.1.1.10 0 300 200 ?
Displayed 1 routes and 23 total paths
22:24:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Redistribute connected
node name: R-1
22:24:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:24:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:24:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:12:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:12:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:12:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:11:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:11:59
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:38
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:11:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:11:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:11:48
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:08
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:22:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:22:04
22:24:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8', 'B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:24:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:12:11
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:12:11
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:12:05
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:11:59
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:11:59
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:01:38
B>* 10.1.4.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:11:54
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:11:54
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:11:48
B>* 10.20.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.20.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:08
B>* 10.30.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:02:08
B>* 10.40.0.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
B>* 10.40.1.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:33
B 10.250.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:38
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:22:04
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:22:04
22:24:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Redistribute connected
node name: R-2
22:24:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no redistribute connected" \\\n-c "network 10.1.3.0/24" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no redistribute connected" \\\n-c "network 10.1.3.0/24" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:35 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-1
22:24:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:41 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-2
22:24:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:46 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-3
22:24:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 300" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:52 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-4
22:24:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 400" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:24:57 test_sonic.run_scenario L0244 INFO |
execute command result:
22:24:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:24:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:24:57 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Weight Attribute Function
22:24:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-1
22:24:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:24:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:03 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:25:05 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.887 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.770 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.862 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.770/0.839/0.887/0.050 ms
22:25:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-2
22:25:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:10 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:25:13 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.06 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.825 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.735 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.735/0.872/1.058/0.136 ms
22:25:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-3
22:25:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "network 10.1.3.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:18 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:25:21 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.677 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.772 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.901 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2036ms
rtt min/avg/max/mdev = 0.677/0.783/0.901/0.091 ms
22:25:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.0/24
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:25:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-1
22:25:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:25:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:13:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:13:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:13:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:12:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:12:55
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:06
* via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:12:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:12:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:12:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:23:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:23:00
22:25:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:25:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:13:07
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:13:07
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:13:01
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:12:55
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:12:55
B>* 10.1.3.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:06
* via 10.1.1.10, Ethernet8, weight 1, 00:00:06
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:12:50
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:12:50
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:12:44
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:23:00
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:23:00
22:25:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-1
22:25:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-WEIGHT permit 10" \\\n-c "set weight 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-WEIGHT permit 10" \\\n-c "set weight 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:32 test_sonic.run_scenario L0244 INFO |
execute command result:
22:25:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:25:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-1
22:25:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.10 soft-reconfiguration inbound" \\\n-c "neighbor 10.1.1.10 route-map SET-WEIGHT in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.10 soft in"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.10 soft-reconfiguration inbound" \\\n-c "neighbor 10.1.1.10 route-map SET-WEIGHT in" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.10 soft in"\n'}
expect values: []
not expect values: []
22:25:37 test_sonic.run_scenario L0244 INFO |
execute command result:
22:25:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:25:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:25:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.10 0 100 200 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:25:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.10 0 100 200 i']
not expect values: []
22:25:42 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 3, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 100 200 i
* 10.1.1.2 0 0 200 i
Displayed 1 routes and 2 total paths
22:25:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.10 0 100 200 i']
22:25:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 3, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.0/24 10.1.1.10 0 100 200 i
* 10.1.1.2 0 0 200 i
Displayed 1 routes and 2 total paths
22:25:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification route-map
node name: R-1
22:25:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:25:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
not expect values: []
22:25:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:13:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:13:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:13:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:13:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:13:17
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:13:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:13:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:23:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:23:22
22:25:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8']
22:25:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:13:29
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:13:29
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:13:23
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:13:17
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:13:17
B>* 10.1.3.0/24 [20/0] via 10.1.1.10, Ethernet8, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:12
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:13:12
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:13:06
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:23:22
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:23:22
22:25:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-1
22:25:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.10 route-map SET-WEIGHT in" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "no neighbor 10.1.1.10 route-map SET-WEIGHT in" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:53 test_sonic.run_scenario L0244 INFO |
execute command result:
22:25:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:25:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-1
22:25:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-WEIGHT permit 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-WEIGHT permit 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:25:59 test_sonic.run_scenario L0244 INFO |
execute command result:
22:25:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:25:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:25:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-1
22:25:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:25:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:04 test_sonic.run_scenario L0244 INFO |
execute command result:
22:26:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:26:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-2
22:26:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:10 test_sonic.run_scenario L0244 INFO |
execute command result:
22:26:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:26:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-3
22:26:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:15 test_sonic.run_scenario L0244 INFO |
execute command result:
22:26:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:26:15 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Local Preference Attribute Function
22:26:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-1
22:26:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 200" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.10.1.0/24" \\\n-c "network 10.10.2.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:20 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:26:23 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.906 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.588 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.06 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.588/0.852/1.062/0.197 ms
22:26:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 200
!
address-family ipv4 unicast
network 10.10.1.0/24
network 10.10.2.0/24
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-2
22:26:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:28 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:26:31 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.678 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.586 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.743 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032ms
rtt min/avg/max/mdev = 0.586/0.669/0.743/0.064 ms
22:26:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-3
22:26:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:36 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:26:38 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.825 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=0.949 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=0.763 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2027ms
rtt min/avg/max/mdev = 0.763/0.845/0.949/0.077 ms
22:26:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.3 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 next-hop-self
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-4
22:26:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:26:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:26:44 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:26:46 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.776 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.631 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.738 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2042ms
rtt min/avg/max/mdev = 0.631/0.715/0.776/0.061 ms
22:26:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
neighbor 10.1.3.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:26:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-4
22:26:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:26:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']
not expect values: []
22:26:52 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
*>i 10.10.2.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
Displayed 2 routes and 4 total paths
22:26:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']
22:26:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
*>i 10.10.2.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
Displayed 2 routes and 4 total paths
22:26:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-4
22:26:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:26:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
not expect values: []
22:26:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:13:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:13:13
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:13:19
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:13:19
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:11
* via 10.1.3.2, Ethernet8, weight 1, 00:00:11
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:11
* via 10.1.3.2, Ethernet8, weight 1, 00:00:11
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:13:07
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:57
22:26:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
22:26:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:13:13
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:13:13
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:13:19
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:13:19
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:11
* via 10.1.3.2, Ethernet8, weight 1, 00:00:11
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:11
* via 10.1.3.2, Ethernet8, weight 1, 00:00:11
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:13:07
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:18:57
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:18:57
22:26:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list
node name: R-2
22:26:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 10.10.1.0 0.0.0.255" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:26:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 10.10.1.0 0.0.0.255" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:27:02 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set access-list
node name: R-3
22:27:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 10.10.2.0 0.0.0.255" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "access-list 1 permit 10.10.2.0 0.0.0.255" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:27:08 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-2
22:27:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-LOCAL-PREF permit 10" \\\n-c "match ip address 1" \\\n-c "set local-preference 200" \\\n-c "route-map SET-LOCAL-PREF permit 20" \\\n-c "set local-preference 150" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-LOCAL-PREF permit 10" \\\n-c "match ip address 1" \\\n-c "set local-preference 200" \\\n-c "route-map SET-LOCAL-PREF permit 20" \\\n-c "set local-preference 150" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:27:13 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-3
22:27:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-LOCAL-PREF permit 10" \\\n-c "match ip address 1" \\\n-c "set local-preference 200" \\\n-c "route-map SET-LOCAL-PREF permit 20" \\\n-c "set local-preference 150" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-LOCAL-PREF permit 10" \\\n-c "match ip address 1" \\\n-c "set local-preference 200" \\\n-c "route-map SET-LOCAL-PREF permit 20" \\\n-c "set local-preference 150" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:27:19 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-2
22:27:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}
expect values: []
not expect values: []
22:27:24 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-3
22:27:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}
expect values: []
not expect values: []
22:27:30 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification neighbor route-map
node name: R-4
22:27:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 0 200 0 100 i', '10.1.3.2 0 150 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:27:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.3.1 0 200 0 100 i', '10.1.3.2 0 150 0 100 i']
not expect values: []
22:27:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 200 0 100 i
* i 10.1.3.2 0 150 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
* i 10.1.3.1 0 150 0 100 i
Displayed 2 routes and 4 total paths
22:27:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 0 200 0 100 i', '10.1.3.2 0 150 0 100 i']
22:27:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 200 0 100 i
* i 10.1.3.2 0 150 0 100 i
*>i 10.10.2.0/24 10.1.3.2 0 200 0 100 i
* i 10.1.3.1 0 150 0 100 i
Displayed 2 routes and 4 total paths
22:27:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification neighbor route-map
node name: R-4
22:27:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:27:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']
not expect values: []
22:27:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:13:57
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:13:57
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:14:03
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:14:03
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:16
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:11
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:13:51
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:19:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:19:41
22:27:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8']
22:27:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:13:57
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:13:57
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:14:03
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:14:03
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:16
B>* 10.10.2.0/24 [200/0] via 10.1.3.2, Ethernet8, weight 1, 00:00:11
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:13:51
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:13:46
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:19:41
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:19:41
22:27:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-2
22:27:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}
expect values: []
not expect values: []
22:27:46 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-3
22:27:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no neighbor 10.1.3.3 route-map SET-LOCAL-PREF out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.3 soft out"\n'}
expect values: []
not expect values: []
22:27:51 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-2
22:27:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-LOCAL-PREF" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-LOCAL-PREF" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:27:57 test_sonic.run_scenario L0244 INFO |
execute command result:
22:27:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:27:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:27:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
22:27:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-LOCAL-PREF" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:27:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-LOCAL-PREF" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:03 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-2
22:28:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:08 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete access-list
node name: R-3
22:28:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no access-list 1" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:13 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-4
22:28:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:28:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']
not expect values: []
22:28:19 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 8, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
*>i 10.10.2.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
Displayed 2 routes and 4 total paths
22:28:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 0 100 0 100 i', '10.1.3.2 0 100 0 100 i']
22:28:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 8, local router ID is 10.250.0.54, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.10.1.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
*>i 10.10.2.0/24 10.1.3.1 0 100 0 100 i
*=i 10.1.3.2 0 100 0 100 i
Displayed 2 routes and 4 total paths
22:28:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-4
22:28:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:28:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
not expect values: []
22:28:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:14:40
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:14:40
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:14:46
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:14:46
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:32
* via 10.1.3.2, Ethernet8, weight 1, 00:00:32
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:32
* via 10.1.3.2, Ethernet8, weight 1, 00:00:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:14:34
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:14:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:20:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:20:24
22:28:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8', 'B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8']
22:28:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:14:40
K 10.1.3.0/24 [0/0] is directly connected, Ethernet8, weight 1, 02:14:40
C>* 10.1.4.0/24 is directly connected, Ethernet4, weight 1, 02:14:46
K 10.1.4.0/24 [0/0] is directly connected, Ethernet4, weight 1, 02:14:46
B>* 10.10.1.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:32
* via 10.1.3.2, Ethernet8, weight 1, 00:00:32
B>* 10.10.2.0/24 [200/0] via 10.1.3.1, Ethernet8, weight 1, 00:00:32
* via 10.1.3.2, Ethernet8, weight 1, 00:00:32
C>* 10.40.0.0/24 is directly connected, Ethernet12, weight 1, 02:14:34
C>* 10.40.1.0/24 is directly connected, Ethernet16, weight 1, 02:14:29
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:20:24
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:20:24
22:28:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-1
22:28:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:30 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-2
22:28:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:35 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-3
22:28:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:41 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-4
22:28:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:46 test_sonic.run_scenario L0244 INFO |
execute command result:
22:28:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:28:46 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:MED Attribute Function
22:28:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-1
22:28:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 100" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.8/30" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "neighbor 10.1.1.10 remote-as 100" \\\n-c "neighbor 10.1.1.10 route-map permit-all in" \\\n-c "neighbor 10.1.1.10 route-map permit-all out" \\\n-c "network 10.1.1.8/30" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 100
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:28:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:52 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:28:54 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=1.05 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.815 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.820 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2025ms
rtt min/avg/max/mdev = 0.815/0.893/1.045/0.107 ms
22:28:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 100
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:28:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-2
22:28:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 100" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:28:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 100" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 next-hop-self" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 next-hop-self" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:28:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:28:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:28:59 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:29:02 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.794 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.838 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=1.01 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.794/0.880/1.008/0.092 ms
22:29:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 100
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 next-hop-self
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 next-hop-self
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:29:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-3
22:29:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "network 10.1.1.8/30" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "network 10.1.1.8/30" \\\n-c "neighbor 10.1.1.9 remote-as 100" \\\n-c "neighbor 10.1.1.9 route-map permit-all in" \\\n-c "neighbor 10.1.1.9 route-map permit-all out" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:29:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:29:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:07 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.1.9
22:29:10 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.1.9 (10.1.1.9) 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=64 time=0.882 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=64 time=1.33 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=64 time=1.10 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.882/1.103/1.328/0.182 ms
22:29:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:29:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default - Set Default
node name: R-4
22:29:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:29:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:29:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:15 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:29:17 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.832 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.568 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.604 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032ms
rtt min/avg/max/mdev = 0.568/0.668/0.832/0.116 ms
22:29:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:29:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-2
22:29:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:29:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']
not expect values: []
22:29:23 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 2, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i
Displayed 1 routes and 2 total paths
22:29:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']
22:29:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 2, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i
Displayed 1 routes and 2 total paths
22:29:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-2
22:29:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:29:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
22:29:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:16:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:16:40
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:23
* via 10.1.3.2, Ethernet12, weight 1, 00:00:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:16:34
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:16:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:16:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:16:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:25:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:25:16
22:29:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']
22:29:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:16:45
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:16:40
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:23
* via 10.1.3.2, Ethernet12, weight 1, 00:00:23
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:16:34
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:16:29
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:16:23
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:16:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:25:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:25:16
22:29:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-1
22:29:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-MED permit 10" \\\n-c "set metric 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-MED permit 10" \\\n-c "set metric 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:29:38 test_sonic.run_scenario L0244 INFO |
execute command result:
22:29:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:29:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set route-map
node name: R-3
22:29:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-MED permit 10" \\\n-c "set metric 50" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-MED permit 10" \\\n-c "set metric 50" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:29:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:29:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:29:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-1
22:29:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 route-map SET-MED out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 route-map SET-MED out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}
expect values: []
not expect values: []
22:29:49 test_sonic.run_scenario L0244 INFO |
execute command result:
22:29:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:29:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set neighbor route-map
node name: R-3
22:29:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.3.1 route-map SET-MED out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:29:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.3.1 route-map SET-MED out" \\\n-c "end" \\\n-c "clear ip bgp 10.1.3.1 soft out"\n'}
expect values: []
not expect values: []
22:29:54 test_sonic.run_scenario L0244 INFO |
execute command result:
22:29:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:29:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:29:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification neighbor route-map
node name: R-2
22:29:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.2 50 0 100 i', '10.1.1.1 100 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:29:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.3.2 50 0 100 i', '10.1.1.1 100 0 100 i']
not expect values: []
22:30:00 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 4, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.3.2 50 0 100 i
* 10.1.1.1 100 0 100 i
Displayed 1 routes and 2 total paths
22:30:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.2 50 0 100 i', '10.1.1.1 100 0 100 i']
22:30:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 4, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.3.2 50 0 100 i
* 10.1.1.1 100 0 100 i
Displayed 1 routes and 2 total paths
22:30:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification neighbor route-map
node name: R-2
22:30:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:30:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12']
not expect values: []
22:30:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:17:17
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:17:12
B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12, weight 1, 00:00:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:17:06
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:17:01
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:16:55
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:16:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:25:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:25:48
22:30:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12']
22:30:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:17:17
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:17:12
B>* 10.1.1.8/30 [20/50] via 10.1.3.2, Ethernet12, weight 1, 00:00:10
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:17:06
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:17:01
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:16:55
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:16:55
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:25:48
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:25:48
22:30:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-1
22:30:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 route-map SET-MED out" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "end" \\\n-c "show running-config" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 route-map SET-MED out" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "end" \\\n-c "show running-config" \\\n-c "clear ip bgp 10.1.1.2 soft out"\n'}
expect values: []
not expect values: []
22:30:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map SET-MED permit 10
set metric 100
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 100
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:30:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map SET-MED permit 10
set metric 100
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
neighbor 10.1.1.10 remote-as 100
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
neighbor 10.1.1.10 route-map permit-all in
neighbor 10.1.1.10 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:30:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete neighbor route-map
node name: R-3
22:30:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.3.1 route-map SET-MED out" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "end" \\\n-c "show running-config" \\\n-c "clear ip bgp 10.1.3.1 soft out"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.3.1 route-map SET-MED out" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "end" \\\n-c "show running-config" \\\n-c "clear ip bgp 10.1.3.1 soft out"\n'}
expect values: []
not expect values: []
22:30:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map SET-MED permit 10
set metric 50
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:30:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
route-map SET-MED permit 10
set metric 50
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.9 remote-as 100
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.1.8/30
neighbor 10.1.1.9 route-map permit-all in
neighbor 10.1.1.9 route-map permit-all out
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:30:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-1
22:30:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-MED permit 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-MED permit 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:30:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:30:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:30:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete route-map
node name: R-3
22:30:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-MED permit 10" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-MED permit 10" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:30:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:30:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:30:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-2
22:30:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:30:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']
not expect values: []
22:30:32 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 6, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i
Displayed 1 routes and 2 total paths
22:30:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 0 0 100 i', '10.1.3.2 0 0 100 i']
22:30:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 6, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.1.8/30 10.1.1.1 0 0 100 i
*= 10.1.3.2 0 0 100 i
Displayed 1 routes and 2 total paths
22:30:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification default
node name: R-2
22:30:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
22:30:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']
not expect values: []
22:30:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:17:50
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:17:45
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
* via 10.1.3.2, Ethernet12, weight 1, 00:00:22
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:17:39
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:17:34
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:17:28
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:17:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:26:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:26:21
22:30:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4']
22:30:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:17:50
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:17:45
B>* 10.1.1.8/30 [20/0] via 10.1.1.1, Ethernet4, weight 1, 00:00:22
* via 10.1.3.2, Ethernet12, weight 1, 00:00:22
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:17:39
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:17:34
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:17:28
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:17:28
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:26:21
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:26:21
22:30:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-1
22:30:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:30:43 test_sonic.run_scenario L0244 INFO |
execute command result:
22:30:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:30:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-2
22:30:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:30:49 test_sonic.run_scenario L0244 INFO |
execute command result:
22:30:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:30:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete Default
node name: R-3
22:30:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:30:54 test_sonic.run_scenario L0244 INFO |
execute command result:
22:30:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:30:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:30:54 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Community Attribute Function
22:30:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Set
node name: R-1
22:30:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 100', 'neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:30:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "neighbor 10.1.1.2 route-map permit-all in" \\\n-c "neighbor 10.1.1.2 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 100', 'neighbor 10.1.1.2 remote-as 200']
not expect values: []
22:31:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 100', 'neighbor 10.1.1.2 remote-as 200']
22:31:00 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:31:02 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.663 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=1.20 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=1.03 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 0.663/0.963/1.203/0.224 ms
22:31:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Set
node name: R-2
22:31:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.1.1 remote-as 100" \\\n-c "neighbor 10.1.1.1 route-map permit-all in" \\\n-c "neighbor 10.1.1.1 route-map permit-all out" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.2 route-map permit-all in" \\\n-c "neighbor 10.1.3.2 route-map permit-all out" \\\n-c "neighbor 10.1.3.3 remote-as 400" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "neighbor 10.1.3.3 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 400']
not expect values: []
22:31:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'neighbor 10.1.1.1 remote-as 100', 'neighbor 10.1.3.2 remote-as 200', 'neighbor 10.1.3.3 remote-as 400']
22:31:07 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.1.1
22:31:10 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=0.778 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.845 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.966 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2009ms
rtt min/avg/max/mdev = 0.778/0.863/0.966/0.077 ms
22:31:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Set
node name: R-3
22:31:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['router bgp 200', 'neighbor 10.1.3.1 remote-as 200', 'network 10.30.0.0/24', 'network 10.30.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.30.0.0/24" \\\n-c "network 10.30.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['router bgp 200', 'neighbor 10.1.3.1 remote-as 200', 'network 10.30.0.0/24', 'network 10.30.1.0/24']
not expect values: []
22:31:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['router bgp 200', 'neighbor 10.1.3.1 remote-as 200', 'network 10.30.0.0/24', 'network 10.30.1.0/24']
22:31:15 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
22:31:18 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.741 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.912 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.929 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2018ms
rtt min/avg/max/mdev = 0.741/0.860/0.929/0.084 ms
22:31:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Set
node name: R-4
22:31:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip route 10.1.3.8/30 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.1.3.8/30" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip route 10.1.3.8/30 10.1.3.1', 'router bgp 400', 'neighbor 10.1.3.1 remote-as 200', 'network 10.1.3.8/30', 'network 10.40.0.0/24', 'network 10.40.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip route 10.1.3.8/30 10.1.3.1" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "neighbor 10.1.3.1 route-map permit-all in" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "network 10.1.3.8/30" \\\n-c "network 10.40.0.0/24" \\\n-c "network 10.40.1.0/24" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip route 10.1.3.8/30 10.1.3.1', 'router bgp 400', 'neighbor 10.1.3.1 remote-as 200', 'network 10.1.3.8/30', 'network 10.40.0.0/24', 'network 10.40.1.0/24']
not expect values: []
22:31:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip route 10.1.3.8/30 10.1.3.1', 'router bgp 400', 'neighbor 10.1.3.1 remote-as 200', 'network 10.1.3.8/30', 'network 10.40.0.0/24', 'network 10.40.1.0/24']
22:31:24 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:31:26 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.814 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.862 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.03 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2028ms
rtt min/avg/max/mdev = 0.814/0.901/1.027/0.091 ms
22:31:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:31:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:31:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.2 4 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.2 4 200']
not expect values: []
22:31:31 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 5 0 0 00:00:23 5 5 N/A
Total number of neighbors 1
22:31:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.2 4 200']
22:31:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.51, local AS number 100 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.2 4 200 5 5 5 0 0 00:00:23 5 5 N/A
Total number of neighbors 1
22:31:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:31:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']
not expect values: []
22:31:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
22:31:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i', '*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']
22:31:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
*> 10.40.0.0/24 10.1.1.2 0 200 400 i
*> 10.40.1.0/24 10.1.1.2 0 200 400 i
Displayed 5 routes and 5 total paths
22:31:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-1
22:31:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: []
22:31:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:19:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:19:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:19:17
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:19:11
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:19:11
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:19:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:19:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:19:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:29:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:29:16
22:31:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:31:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:19:23
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:19:23
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:19:17
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:19:11
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:19:11
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:19:06
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:19:06
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:19:00
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:24
B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:18
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:29:16
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:29:16
22:31:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-2
22:31:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 400']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 400']
not expect values: []
22:31:48 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.52, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 5 0 0 00:00:39 0 5 N/A
10.1.3.2 4 200 4 4 5 0 0 00:00:32 2 3 FRRouting/10.3
10.1.3.3 4 400 5 5 5 0 0 00:00:39 3 5 N/A
Total number of neighbors 3
22:31:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.1.1 4 100', '10.1.3.2 4 200', '10.1.3.3 4 400']
22:31:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.52, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 3, using 71 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.1.1 4 100 5 5 5 0 0 00:00:39 0 5 N/A
10.1.3.2 4 200 4 4 5 0 0 00:00:32 2 3 FRRouting/10.3
10.1.3.3 4 400 5 5 5 0 0 00:00:39 3 5 N/A
Total number of neighbors 3
22:31:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-2
22:31:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
not expect values: []
22:31:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:31:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
22:31:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:31:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-2
22:31:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:31:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
22:31:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:19:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:19:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:19:00
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:18:55
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:18:49
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:18:49
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:27:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:27:42
22:31:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
22:31:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:19:11
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:19:06
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:19:00
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:18:55
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:18:49
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:18:49
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:41
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:27:42
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:27:42
22:31:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-2
22:31:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:31:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: []
not expect values: ['Community:']
22:32:04 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 4
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
10.1.1.1 10.1.3.2 10.1.3.3
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Oct 26 22:31:19 2026
22:32:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:32:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 4
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
10.1.1.1 10.1.3.2 10.1.3.3
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Oct 26 22:31:19 2026
22:32:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-2
22:32:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:32:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: []
not expect values: ['Community:']
22:32:09 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 5
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
10.1.1.1 10.1.3.2 10.1.3.3
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Oct 26 22:31:18 2026
22:32:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:32:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 5
Paths: (1 available, best #1, table default)
Advertised to non peer-group peers:
10.1.1.1 10.1.3.2 10.1.3.3
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Last update: Mon Oct 26 22:31:18 2026
22:32:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-3
22:32:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp sum"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.1.3.1 4 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp sum"'}
expect values: ['10.1.3.1 4 200']
not expect values: []
22:32:15 test_sonic.run_scenario L0244 INFO |
execute command result:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.53, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 4 4 5 0 0 00:00:58 3 2 FRRouting/10.3
Total number of neighbors 1
22:32:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.1.3.1 4 200']
22:32:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
IPv4 Unicast Summary:
BGP router identifier 10.250.0.53, local AS number 200 VRF default vrf-id 0
BGP table version 5
RIB entries 9, using 1152 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.1.3.1 4 200 4 4 5 0 0 00:00:58 3 2 FRRouting/10.3
Total number of neighbors 1
22:32:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-3
22:32:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
not expect values: []
22:32:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 5, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 5 routes and 5 total paths
22:32:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
22:32:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 5, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 5 routes and 5 total paths
22:32:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-3
22:32:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']
not expect values: []
22:32:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:19:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:19:10
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:19:04
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:18:59
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:18:53
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:26:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:26:18
22:32:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']
22:32:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:19:10
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:19:10
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:19:04
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:18:59
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:18:53
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:01:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:26:18
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:26:18
22:32:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-3
22:32:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:32:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: []
not expect values: ['Community:']
22:32:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 4
Paths: (1 available, best #1, table default)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Last update: Mon Oct 26 22:31:16 2026
22:32:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:32:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 4
Paths: (1 available, best #1, table default)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Last update: Mon Oct 26 22:31:16 2026
22:32:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification Default
node name: R-3
22:32:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:32:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: []
not expect values: ['Community:']
22:32:37 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 5
Paths: (1 available, best #1, table default)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Last update: Mon Oct 26 22:31:17 2026
22:32:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:32:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 5
Paths: (1 available, best #1, table default)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Last update: Mon Oct 26 22:31:17 2026
22:32:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set01 - no-export
node name: R-4
22:32:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24" \\\n-c "route-map SET-NO-EXPORT permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community no-export" \\\n-c "route-map SET-NO-EXPORT permit 20" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map SET-NO-EXPORT out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24" \\\n-c "route-map SET-NO-EXPORT permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community no-export" \\\n-c "route-map SET-NO-EXPORT permit 20" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map SET-NO-EXPORT out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community no-export']
not expect values: []
22:32:42 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-NO-EXPORT permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community no-export
exit
!
route-map SET-NO-EXPORT permit 20
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-EXPORT out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:32:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community no-export']
22:32:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-NO-EXPORT permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community no-export
exit
!
route-map SET-NO-EXPORT permit 20
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-EXPORT out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:32:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-1
22:32:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:32:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']
not expect values: ['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']
22:32:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
Displayed 3 routes and 3 total paths
22:32:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']
22:32:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
Displayed 3 routes and 3 total paths
22:32:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-1
22:32:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:32:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:32:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:20:34
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:20:34
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:20:28
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:20:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:20:22
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:20:17
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:20:17
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:20:11
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:35
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:27
22:32:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:32:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:20:34
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:20:34
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:20:28
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:20:22
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:20:22
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:29
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:20:17
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:20:17
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:20:11
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:35
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:01:35
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:27
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:27
22:32:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:32:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
not expect values: []
22:32:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:32:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
22:32:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:32:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:32:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:32:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
22:33:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:20:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:20:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:20:05
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:40
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:20:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:19:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:19:54
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:01:46
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:01:46
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:28:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:28:47
22:33:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
22:33:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:20:16
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:20:11
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:20:05
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:01:40
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:20:00
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:19:54
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:19:54
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:01:46
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:01:46
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:28:47
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:28:47
22:33:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:33:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['Community: no-export']
not expect values: []
22:33:09 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 6
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Advertised to non peer-group peers:
10.1.3.2
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:42 2026
22:33:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-export']
22:33:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 6
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Advertised to non peer-group peers:
10.1.3.2
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:42 2026
22:33:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:33:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['Community: no-export']
not expect values: []
22:33:15 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 7
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Advertised to non peer-group peers:
10.1.3.2
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:41 2026
22:33:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-export']
22:33:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 7
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Advertised to non peer-group peers:
10.1.3.2
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:41 2026
22:33:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:33:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: ['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
not expect values: []
22:33:20 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:33:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
22:33:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:33:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-2
22:33:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [['no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: ['no-export']
not expect values: []
22:33:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
[0x55d48e009ce0] (4) no-export
22:33:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['no-export']
22:33:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
[0x55d48e009ce0] (4) no-export
22:33:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
not expect values: []
22:33:31 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 5 routes and 5 total paths
22:33:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i', '*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
22:33:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 5 routes and 5 total paths
22:33:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']
not expect values: []
22:33:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:20:21
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:20:21
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:20:15
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:13
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:20:10
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:20:04
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:27:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:27:29
22:33:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']
22:33:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:20:21
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:20:21
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:20:15
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:02:13
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:20:10
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:20:04
B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:27:29
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:27:29
22:33:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['Community: no-export']
not expect values: []
22:33:42 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 6
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:36 2026
22:33:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-export']
22:33:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 6
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:36 2026
22:33:42 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:42 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['Community: no-export']
not expect values: []
22:33:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 7
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:35 2026
22:33:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-export']
22:33:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 7
Paths: (1 available, best #1, table default, not advertised to EBGP peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.1 (10.250.0.52)
Origin IGP, metric 0, localpref 100, valid, internal, best (First path received)
Community: no-export
Last update: Mon Oct 26 22:32:35 2026
22:33:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i', 'Displayed 2 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: ['*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i', 'Displayed 2 routes and 5 total paths']
not expect values: []
22:33:53 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 7, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 2 routes and 5 total paths
22:33:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i', 'Displayed 2 routes and 5 total paths']
22:33:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 7, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i
*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i
Displayed 2 routes and 5 total paths
22:33:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification01 - no-export
node name: R-3
22:33:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [['no-export']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:33:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: ['no-export']
not expect values: []
22:33:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
[0x55ddf0739510] (2) no-export
22:33:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['no-export']
22:33:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
[0x55ddf0739510] (2) no-export
22:33:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete01 - no-export
node name: R-4
22:33:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-NO-EXPORT" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['route-map SET-NO-EXPORT permit']]
sub scenario retries: 5
sub scenario delay: 1
22:33:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-NO-EXPORT" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['route-map SET-NO-EXPORT permit']
22:34:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-EXPORT out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:34:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:34:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-EXPORT out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:34:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set02 - no-advertise
node name: R-4
22:34:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "route-map SET-NO-ADVERTISE permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community no-advertise" \\\n-c "route-map SET-NO-ADVERTISE permit 20" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map SET-NO-ADVERTISE out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['route-map SET-NO-ADVERTISE', 'set community no-advertise']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "route-map SET-NO-ADVERTISE permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community no-advertise" \\\n-c "route-map SET-NO-ADVERTISE permit 20" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map SET-NO-ADVERTISE out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['route-map SET-NO-ADVERTISE', 'set community no-advertise']
not expect values: []
22:34:09 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-NO-ADVERTISE permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community no-advertise
exit
!
route-map SET-NO-ADVERTISE permit 20
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-ADVERTISE out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:34:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['route-map SET-NO-ADVERTISE', 'set community no-advertise']
22:34:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-NO-ADVERTISE permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community no-advertise
exit
!
route-map SET-NO-ADVERTISE permit 20
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map SET-NO-ADVERTISE out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:34:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-1
22:34:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:34:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']
not expect values: ['*> 10.40.0.0/24 10.1.1.2 0 200 400 i', '*> 10.40.1.0/24 10.1.1.2 0 200 400 i']
22:34:14 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 9, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
Displayed 3 routes and 3 total paths
22:34:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.1.2 0 200 400 i', '*> 10.30.0.0/24 10.1.1.2 0 200 i', '*> 10.30.1.0/24 10.1.1.2 0 200 i']
22:34:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 9, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 200 400 i
*> 10.30.0.0/24 10.1.1.2 0 200 i
*> 10.30.1.0/24 10.1.1.2 0 200 i
Displayed 3 routes and 3 total paths
22:34:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-1
22:34:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:34:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:34:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:22:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:22:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:21:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:21:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:21:49
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:21:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:21:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:21:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:02
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:31:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:31:54
22:34:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:34:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:22:01
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:22:01
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:21:55
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:21:49
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:21:49
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:11
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:21:44
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:21:44
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:21:38
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:02
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:03:02
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:31:54
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:31:54
22:34:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
not expect values: []
22:34:25 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:34:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*>i 10.30.0.0/24 10.1.3.2 0 100 0 i', '*>i 10.30.1.0/24 10.1.3.2 0 100 0 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
22:34:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*>i 10.30.0.0/24 10.1.3.2 0 100 0 i
*>i 10.30.1.0/24 10.1.3.2 0 100 0 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:34:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
22:34:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:21:43
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:21:38
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:21:32
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:21:27
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:21:21
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:21:21
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:03:13
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:03:13
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:14
22:34:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
22:34:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:21:43
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:21:38
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:21:32
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:21:27
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:21:21
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:21:21
B>* 10.30.0.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:03:13
B>* 10.30.1.0/24 [200/0] via 10.1.3.2, Ethernet12, weight 1, 00:03:13
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:22
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:14
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:14
22:34:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-advertise']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['Community: no-advertise']
not expect values: []
22:34:36 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 12
Paths: (1 available, best #1, table default, not advertised to any peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-advertise
Last update: Mon Oct 26 22:34:09 2026
22:34:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-advertise']
22:34:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 12
Paths: (1 available, best #1, table default, not advertised to any peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-advertise
Last update: Mon Oct 26 22:34:09 2026
22:34:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: no-advertise']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['Community: no-advertise']
not expect values: []
22:34:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 13
Paths: (1 available, best #1, table default, not advertised to any peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-advertise
Last update: Mon Oct 26 22:34:09 2026
22:34:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: no-advertise']
22:34:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 13
Paths: (1 available, best #1, table default, not advertised to any peer)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: no-advertise
Last update: Mon Oct 26 22:34:09 2026
22:34:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: ['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
not expect values: []
22:34:47 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 13, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:34:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
22:34:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 13, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:34:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-2
22:34:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [['no-advertise']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:34:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: ['no-advertise']
not expect values: []
22:34:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
[0x55d48da1a200] (2) no-advertise
22:34:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['no-advertise']
22:34:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
[0x55d48da1a200] (2) no-advertise
22:34:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:34:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']]
sub scenario not expect values: [['*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:34:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']
not expect values: ['*>i 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*>i 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
22:34:58 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 11, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
22:34:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']
22:34:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 11, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 10.1.3.8/30 10.1.3.3 0 100 0 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
22:34:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:34:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:34:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8']
not expect values: ['B>* 10.40.0.0/24 [200/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [200/0] via 10.1.3.3, Ethernet8']
22:35:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:21:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:21:48
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:21:42
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:21:37
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:21:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:28:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:28:56
22:35:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8']
22:35:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:21:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:21:48
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:21:42
B>* 10.1.3.8/30 [200/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:54
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:21:37
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:21:31
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:28:56
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:28:56
22:35:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:35:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['% Network not in table']]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:35:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['% Network not in table']
not expect values: ['Community:']
22:35:09 test_sonic.run_scenario L0244 INFO |
execute command result:
% Network not in table
22:35:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
['% Network not in table']
22:35:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
% Network not in table
22:35:09 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:35:09 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['% Network not in table']]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:35:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['% Network not in table']
not expect values: ['Community:']
22:35:14 test_sonic.run_scenario L0244 INFO |
execute command result:
% Network not in table
22:35:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['% Network not in table']
22:35:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
% Network not in table
22:35:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:35:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 100 0 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:35:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: []
not expect values: ['*> 10.40.0.0/24 10.1.3.3 0 100 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 100 0 400 i']
22:35:20 test_sonic.run_scenario L0244 INFO |
execute command result:
22:35:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:35:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:35:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification02 - no-adverties
node name: R-3
22:35:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['no-advertise']]
sub scenario retries: 5
sub scenario delay: 1
22:35:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: []
not expect values: ['no-advertise']
22:35:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
22:35:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:35:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
22:35:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete02 - no-advertise
node name: R-4
22:35:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no route-map SET-NO-ADVERTISE" \\\n-c "no ip prefix-list COMMUNITY-TARGETS" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['route-map SET-NO-ADVERTISE permit', 'ip prefix-list COMMUNITY-TARGETS']]
sub scenario retries: 5
sub scenario delay: 1
22:35:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no route-map SET-NO-ADVERTISE" \\\n-c "no ip prefix-list COMMUNITY-TARGETS" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 route-map permit-all out" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['route-map SET-NO-ADVERTISE permit', 'ip prefix-list COMMUNITY-TARGETS']
22:35:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:35:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set03 - local-AS
node name: R-2
22:35:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24" \\\n-c "route-map SET-LOCAL-AS permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community local-AS" \\\n-c "route-map SET-LOCAL-AS permit 20" \\\n-c "router bgp 200" \\\n-c "bgp confederation identifier 65001" \\\n-c "bgp confederation peers 200" \\\n-c "neighbor 10.1.3.2 remote-as 65002" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-AS in" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community local-AS', 'bgp confederation identifier 65001', 'bgp confederation peers 200', 'neighbor 10.1.3.2 remote-as 65002']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:35:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24" \\\n-c "ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24" \\\n-c "route-map SET-LOCAL-AS permit 10" \\\n-c "match ip address prefix-list COMMUNITY-TARGETS" \\\n-c "set community local-AS" \\\n-c "route-map SET-LOCAL-AS permit 20" \\\n-c "router bgp 200" \\\n-c "bgp confederation identifier 65001" \\\n-c "bgp confederation peers 200" \\\n-c "neighbor 10.1.3.2 remote-as 65002" \\\n-c "neighbor 10.1.3.3 route-map SET-LOCAL-AS in" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community local-AS', 'bgp confederation identifier 65001', 'bgp confederation peers 200', 'neighbor 10.1.3.2 remote-as 65002']
not expect values: []
22:35:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-LOCAL-AS permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community local-AS
exit
!
route-map SET-LOCAL-AS permit 20
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp confederation identifier 65001
bgp confederation peers 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 65002
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map SET-LOCAL-AS in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24', 'set community local-AS', 'bgp confederation identifier 65001', 'bgp confederation peers 200', 'neighbor 10.1.3.2 remote-as 65002']
22:35:36 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.3.2
22:35:38 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.3.2 (10.1.3.2) 56(84) bytes of data.
64 bytes from 10.1.3.2: icmp_seq=1 ttl=64 time=1.03 ms
64 bytes from 10.1.3.2: icmp_seq=2 ttl=64 time=0.926 ms
64 bytes from 10.1.3.2: icmp_seq=3 ttl=64 time=0.945 ms
--- 10.1.3.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.926/0.968/1.034/0.047 ms
22:35:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
ip prefix-list COMMUNITY-TARGETS seq 5 permit 10.40.0.0/24
ip prefix-list COMMUNITY-TARGETS seq 10 permit 10.40.1.0/24
!
route-map permit-all permit 10
exit
!
route-map SET-LOCAL-AS permit 10
match ip address prefix-list COMMUNITY-TARGETS
set community local-AS
exit
!
route-map SET-LOCAL-AS permit 20
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp confederation identifier 65001
bgp confederation peers 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 65002
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map SET-LOCAL-AS in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set03 - local-AS
node name: R-3
22:35:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp confederation identifier 65002" \\\n-c "bgp confederation peers 200" \\\n-c "neighbor 10.1.3.1 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['bgp confederation identifier 65002', 'bgp confederation peers 200', 'neighbor 10.1.3.1 remote-as 65001']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:35:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "bgp confederation identifier 65002" \\\n-c "bgp confederation peers 200" \\\n-c "neighbor 10.1.3.1 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['bgp confederation identifier 65002', 'bgp confederation peers 200', 'neighbor 10.1.3.1 remote-as 65001']
not expect values: []
22:35:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp confederation identifier 65002
bgp confederation peers 200
neighbor 10.1.3.1 remote-as 65001
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bgp confederation identifier 65002', 'bgp confederation peers 200', 'neighbor 10.1.3.1 remote-as 65001']
22:35:44 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
22:35:46 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.830 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.952 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=1.02 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2014ms
rtt min/avg/max/mdev = 0.830/0.934/1.022/0.079 ms
22:35:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
bgp confederation identifier 65002
bgp confederation peers 200
neighbor 10.1.3.1 remote-as 65001
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set03 - local-AS
node name: R-1
22:35:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.2 remote-as 65001']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:35:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.2 remote-as 65001']
not expect values: []
22:35:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 65001
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.2 remote-as 65001']
22:35:51 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:35:54 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.767 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.786 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.828 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
rtt min/avg/max/mdev = 0.767/0.793/0.828/0.025 ms
22:35:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 65001
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set03 - local-AS
node name: R-4
22:35:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.3.1 remote-as 65001']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:35:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 65001" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.3.1 remote-as 65001']
not expect values: []
22:35:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 65001
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:35:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.3.1 remote-as 65001']
22:35:59 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:36:02 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.527 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.714 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.874 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2030ms
rtt min/avg/max/mdev = 0.527/0.705/0.874/0.141 ms
22:36:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 65001
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:36:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-1
22:36:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.1.2 0 65001 400 i', '*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i', '*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.1.2 0 65001 400 i', '*> 10.40.1.0/24 10.1.1.2 0 65001 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:36:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.1.2 0 65001 400 i', '*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i', '*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i']
not expect values: ['*> 10.40.0.0/24 10.1.1.2 0 65001 400 i', '*> 10.40.1.0/24 10.1.1.2 0 65001 400 i']
22:36:07 test_sonic.run_scenario L0244 INFO |
execute command result:
No BGP prefixes displayed, 0 exist
22:36:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.1.2 0 65001 400 i', '*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i', '*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i']
22:36:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 1 seconds...((1/5 attempts)
22:36:13 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 19, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 65001 400 i
*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i
*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i
Displayed 3 routes and 3 total paths
22:36:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.1.2 0 65001 400 i', '*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i', '*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i']
22:36:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 19, local router ID is 10.250.0.51, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.1.2 0 65001 400 i
*> 10.30.0.0/24 10.1.1.2 0 65001 65002 i
*> 10.30.1.0/24 10.1.1.2 0 65001 65002 i
Displayed 3 routes and 3 total paths
22:36:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-1
22:36:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']]
sub scenario retries: 5
sub scenario delay: 1
22:36:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.40.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:36:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:24:00
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:24:00
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:23:54
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:23:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:23:48
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:23:43
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:23:43
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:23:37
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:33:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:33:53
22:36:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4', 'B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4']
22:36:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:24:00
K 10.1.1.0/30 [0/0] is directly connected, Ethernet4, weight 1, 02:24:00
C>* 10.1.1.4/30 is directly connected, Ethernet12, weight 1, 02:23:54
C>* 10.1.1.8/30 is directly connected, Ethernet8, weight 1, 02:23:48
K 10.1.1.8/30 [0/0] is directly connected, Ethernet8, weight 1, 02:23:48
B>* 10.1.3.8/30 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:12
C>* 10.10.1.0/24 is directly connected, Ethernet16, weight 1, 02:23:43
K 10.10.1.0/24 [0/0] is directly connected, Ethernet16, weight 1, 02:23:43
C>* 10.10.2.0/24 is directly connected, Ethernet20, weight 1, 02:23:37
B>* 10.30.0.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
B>* 10.30.1.0/24 [20/0] via 10.1.1.2, Ethernet4, weight 1, 00:00:10
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:33:53
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:33:53
22:36:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65002 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65002 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65002 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65002 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
not expect values: []
22:36:24 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*> 10.30.0.0/24 10.1.3.2 0 0 65002 i
*> 10.30.1.0/24 10.1.3.2 0 0 65002 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:36:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.3.3 0 0 400 i', '*> 10.30.0.0/24 10.1.3.2 0 0 65002 i', '*> 10.30.1.0/24 10.1.3.2 0 0 65002 i', '*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i']
22:36:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 0 400 i
*> 10.30.0.0/24 10.1.3.2 0 0 65002 i
*> 10.30.1.0/24 10.1.3.2 0 0 65002 i
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 5 routes and 5 total paths
22:36:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
not expect values: []
22:36:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:23:42
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:23:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:23:31
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:23:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:23:20
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:23:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:32:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:32:13
22:36:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12', 'B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12']
22:36:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.0/30 is directly connected, Ethernet4, weight 1, 02:23:42
C>* 10.1.1.4/30 is directly connected, Ethernet8, weight 1, 02:23:37
C>* 10.1.3.0/24 is directly connected, Ethernet12, weight 1, 02:23:31
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
C>* 10.20.0.0/24 is directly connected, Ethernet16, weight 1, 02:23:26
C>* 10.20.1.0/24 is directly connected, Ethernet20, weight 1, 02:23:20
K * 10.20.1.0/24 [0/0] is directly connected, Ethernet20, weight 1, 02:23:20
B>* 10.30.0.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:21
B>* 10.30.1.0/24 [20/0] via 10.1.3.2, Ethernet12, weight 1, 00:00:21
B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet12, weight 1, 00:00:23
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:32:13
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:32:13
22:36:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: local-AS']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['Community: local-AS']
not expect values: []
22:36:35 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.0.0/24, version 22
Paths: (1 available, best #1, table default, not advertised outside local AS)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: local-AS
Last update: Mon Oct 26 22:36:02 2026
22:36:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: local-AS']
22:36:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.0.0/24, version 22
Paths: (1 available, best #1, table default, not advertised outside local AS)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: local-AS
Last update: Mon Oct 26 22:36:02 2026
22:36:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['Community: local-AS']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['Community: local-AS']
not expect values: []
22:36:41 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP routing table entry for 10.40.1.0/24, version 23
Paths: (1 available, best #1, table default, not advertised outside local AS)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: local-AS
Last update: Mon Oct 26 22:36:01 2026
22:36:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Community: local-AS']
22:36:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP routing table entry for 10.40.1.0/24, version 23
Paths: (1 available, best #1, table default, not advertised outside local AS)
Not advertised to any peer
400
10.1.3.3 from 10.1.3.3 (10.250.0.54)
Origin IGP, metric 0, valid, external, best (First path received)
Community: local-AS
Last update: Mon Oct 26 22:36:01 2026
22:36:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: ['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
not expect values: []
22:36:46 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 25, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:36:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.40.0.0/24 10.1.3.3 0 0 400 i', '*> 10.40.1.0/24 10.1.3.3 0 0 400 i', 'Displayed 2 routes and 5 total paths']
22:36:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 25, local router ID is 10.250.0.52, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.40.0.0/24 10.1.3.3 0 0 400 i
*> 10.40.1.0/24 10.1.3.3 0 0 400 i
Displayed 2 routes and 5 total paths
22:36:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-2
22:36:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [['local-AS']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:36:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: ['local-AS']
not expect values: []
22:36:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
[0x55d48e15eab0] (2) local-AS
22:36:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['local-AS']
22:36:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
[0x55d48e15eab0] (2) local-AS
22:36:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:36:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp"'}]
sub scenario expect mode: and
sub scenario expect values: [['*> 10.1.3.8/30 10.1.3.3 0 65001 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.3.3 0 65001 400 i', '*> 10.40.1.0/24 10.1.3.3 0 65001 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:36:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp"'}
expect values: ['*> 10.1.3.8/30 10.1.3.3 0 65001 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']
not expect values: ['*> 10.40.0.0/24 10.1.3.3 0 65001 400 i', '*> 10.40.1.0/24 10.1.3.3 0 65001 400 i']
22:36:57 test_sonic.run_scenario L0244 INFO |
execute command result:
BGP table version is 17, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 65001 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
22:36:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['*> 10.1.3.8/30 10.1.3.3 0 65001 400 i', '*> 10.30.0.0/24 0.0.0.0 0 32768 i', '*> 10.30.1.0/24 0.0.0.0 0 32768 i']
22:36:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
BGP table version is 17, local router ID is 10.250.0.53, vrf id 0
Default local pref 100, local AS 200
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.3.8/30 10.1.3.3 0 65001 400 i
*> 10.30.0.0/24 0.0.0.0 0 32768 i
*> 10.30.1.0/24 0.0.0.0 0 32768 i
Displayed 3 routes and 3 total paths
22:36:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:36:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip route"'}]
sub scenario expect mode: and
sub scenario expect values: [['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario not expect values: [['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']]
sub scenario retries: 5
sub scenario delay: 1
22:36:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip route"'}
expect values: ['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet8']
not expect values: ['B>* 10.40.0.0/24 [20/0] via 10.1.3.3, Ethernet8', 'B>* 10.40.1.0/24 [20/0] via 10.1.3.3, Ethernet8']
22:37:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:23:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:23:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:23:41
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:53
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:23:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:23:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:55
22:37:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet8']
22:37:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
IPv4 unicast VRF default:
C>* 10.1.1.8/30 is directly connected, Ethernet0, weight 1, 02:23:47
K 10.1.1.8/30 [0/0] is directly connected, Ethernet0, weight 1, 02:23:47
C>* 10.1.3.0/24 is directly connected, Ethernet8, weight 1, 02:23:41
B>* 10.1.3.8/30 [20/0] via 10.1.3.3, Ethernet8, weight 1, 00:00:53
C>* 10.30.0.0/24 is directly connected, Ethernet12, weight 1, 02:23:36
C>* 10.30.1.0/24 is directly connected, Ethernet16, weight 1, 02:23:30
C>* 10.250.0.0/24 is directly connected, eth0, weight 1, 02:30:55
K 240.127.1.0/24 [0/0] is directly connected, docker0 inactive linkdown, weight 1, 02:30:55
22:37:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:37:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['% Network not in table']]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:37:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.0.0/24"'}
expect values: ['% Network not in table']
not expect values: ['Community:']
22:37:08 test_sonic.run_scenario L0244 INFO |
execute command result:
% Network not in table
22:37:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['% Network not in table']
22:37:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
% Network not in table
22:37:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:37:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}]
sub scenario expect mode: and
sub scenario expect values: [['% Network not in table']]
sub scenario not expect values: [['Community:']]
sub scenario retries: 5
sub scenario delay: 1
22:37:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp 10.40.1.0/24"'}
expect values: ['% Network not in table']
not expect values: ['Community:']
22:37:13 test_sonic.run_scenario L0244 INFO |
execute command result:
% Network not in table
22:37:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['% Network not in table']
22:37:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
% Network not in table
22:37:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:37:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['*> 10.40.0.0/24 10.1.3.3 0 65001 400 i', '*> 10.40.1.0/24 10.1.3.3 0 65001 400 i']]
sub scenario retries: 5
sub scenario delay: 1
22:37:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community"'}
expect values: []
not expect values: ['*> 10.40.0.0/24 10.1.3.3 0 65001 400 i', '*> 10.40.1.0/24 10.1.3.3 0 65001 400 i']
22:37:19 test_sonic.run_scenario L0244 INFO |
execute command result:
22:37:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:37:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:37:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Verification03 - local-AS
node name: R-3
22:37:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show ip bgp community-info"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['local-AS']]
sub scenario retries: 5
sub scenario delay: 1
22:37:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show ip bgp community-info"'}
expect values: []
not expect values: ['local-AS']
22:37:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Address Refcnt Community
22:37:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:37:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Address Refcnt Community
22:37:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete03 - local-AS
node name: R-2
22:37:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip prefix-list COMMUNITY-TARGETS" \\\n-c "no route-map SET-LOCAL-AS" \\\n-c "router bgp 200" \\\n-c "no bgp confederation identifier 65001" \\\n-c "no bgp confederation peers 200" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24', 'set community local-AS', 'bgp confederation identifier 65001', 'bgp confederation peers 200', 'neighbor 10.1.3.2 remote-as 65002']]
sub scenario retries: 5
sub scenario delay: 1
22:37:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip prefix-list COMMUNITY-TARGETS" \\\n-c "no route-map SET-LOCAL-AS" \\\n-c "router bgp 200" \\\n-c "no bgp confederation identifier 65001" \\\n-c "no bgp confederation peers 200" \\\n-c "neighbor 10.1.3.2 remote-as 200" \\\n-c "neighbor 10.1.3.3 route-map permit-all in" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['ip prefix-list COMMUNITY-TARGETS permit 10.40.0.0/24', 'ip prefix-list COMMUNITY-TARGETS permit 10.40.1.0/24', 'set community local-AS', 'bgp confederation identifier 65001', 'bgp confederation peers 200', 'neighbor 10.1.3.2 remote-as 65002']
22:37:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:37:30 test_sonic.run_scenario L0252 INFO | [R-2] Auto Ping Verification to neighbor: 10.1.3.2
22:37:32 test_sonic.run_scenario L0254 INFO | [R-2] Ping result:
PING 10.1.3.2 (10.1.3.2) 56(84) bytes of data.
64 bytes from 10.1.3.2: icmp_seq=1 ttl=64 time=0.755 ms
64 bytes from 10.1.3.2: icmp_seq=2 ttl=64 time=1.03 ms
64 bytes from 10.1.3.2: icmp_seq=3 ttl=64 time=0.926 ms
--- 10.1.3.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2011ms
rtt min/avg/max/mdev = 0.755/0.904/1.032/0.114 ms
22:37:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.1.1 remote-as 100
neighbor 10.1.3.2 remote-as 200
neighbor 10.1.3.3 remote-as 400
!
address-family ipv4 unicast
neighbor 10.1.1.1 route-map permit-all in
neighbor 10.1.1.1 route-map permit-all out
neighbor 10.1.3.2 route-map permit-all in
neighbor 10.1.3.2 route-map permit-all out
neighbor 10.1.3.3 route-map permit-all in
neighbor 10.1.3.3 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete03 - local-AS
node name: R-3
22:37:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no bgp confederation identifier 65002" \\\n-c "no bgp confederation peers 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['bgp confederation identifier 65002', 'bgp confederation peers 200', 'neighbor 10.1.3.1 remote-as 65001']]
sub scenario retries: 5
sub scenario delay: 1
22:37:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 200" \\\n-c "no bgp confederation identifier 65002" \\\n-c "no bgp confederation peers 200" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: ['bgp confederation identifier 65002', 'bgp confederation peers 200', 'neighbor 10.1.3.1 remote-as 65001']
22:37:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:37:37 test_sonic.run_scenario L0252 INFO | [R-3] Auto Ping Verification to neighbor: 10.1.3.1
22:37:40 test_sonic.run_scenario L0254 INFO | [R-3] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.737 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.911 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.798 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2014ms
rtt min/avg/max/mdev = 0.737/0.815/0.911/0.072 ms
22:37:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 200
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.30.0.0/24
network 10.30.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete03 - local-AS
node name: R-1
22:37:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.1.2 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:37:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 100" \\\n-c "neighbor 10.1.1.2 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.1.2 remote-as 200']
not expect values: []
22:37:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.1.2 remote-as 200']
22:37:45 test_sonic.run_scenario L0252 INFO | [R-1] Auto Ping Verification to neighbor: 10.1.1.2
22:37:47 test_sonic.run_scenario L0254 INFO | [R-1] Ping result:
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
64 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=0.848 ms
64 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=0.908 ms
64 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=0.905 ms
--- 10.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2011ms
rtt min/avg/max/mdev = 0.848/0.887/0.908/0.027 ms
22:37:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
router bgp 100
neighbor 10.1.1.2 remote-as 200
!
address-family ipv4 unicast
neighbor 10.1.1.2 route-map permit-all in
neighbor 10.1.1.2 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete03 - local-AS
node name: R-4
22:37:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [['neighbor 10.1.3.1 remote-as 200']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:37:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router bgp 400" \\\n-c "neighbor 10.1.3.1 remote-as 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: ['neighbor 10.1.3.1 remote-as 200']
not expect values: []
22:37:53 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['neighbor 10.1.3.1 remote-as 200']
22:37:53 test_sonic.run_scenario L0252 INFO | [R-4] Auto Ping Verification to neighbor: 10.1.3.1
22:37:55 test_sonic.run_scenario L0254 INFO | [R-4] Ping result:
PING 10.1.3.1 (10.1.3.1) 56(84) bytes of data.
64 bytes from 10.1.3.1: icmp_seq=1 ttl=64 time=0.693 ms
64 bytes from 10.1.3.1: icmp_seq=2 ttl=64 time=0.919 ms
64 bytes from 10.1.3.1: icmp_seq=3 ttl=64 time=0.826 ms
--- 10.1.3.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.693/0.812/0.919/0.092 ms
22:37:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip route 10.1.3.8/30 10.1.3.1
!
router bgp 400
neighbor 10.1.3.1 remote-as 200
!
address-family ipv4 unicast
network 10.1.3.8/30
network 10.40.0.0/24
network 10.40.1.0/24
neighbor 10.1.3.1 route-map permit-all in
neighbor 10.1.3.1 route-map permit-all out
exit-address-family
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:37:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Delete
node name: R-1
22:37:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:37:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 100" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:38:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:38:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Delete
node name: R-2
22:38:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:38:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:38:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:38:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Delete
node name: R-3
22:38:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:38:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no router bgp 200" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:38:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:38:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Default Delete
node name: R-4
22:38:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.3.8/30 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
22:38:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "no ip route 10.1.3.8/30 10.1.3.1" \\\n-c "no router bgp 400" \\\n-c "do show running-config" \\\n-c "end"\n'}
expect values: []
not expect values: []
22:38:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
22:38:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:38:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
route-map permit-all permit 10
exit
!
password zebra
enable password zebra
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
PASSEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
22:38:17 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
22:38:22 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:38:22 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:38:22 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:38:23 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:38:23 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:05.471772 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh22:38:23 config_reload.config_reload L0144 INFO | reloading config_db
22:39:45 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:39:45 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:39:49 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:39:49 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
22:40:09 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:40:13 config_reload.config_reload L0144 INFO | reloading config_db
22:41:35 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:41:35 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:41:40 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:41:40 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent', 'snmpd']'
22:42:00 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:42:04 config_reload.config_reload L0144 INFO | reloading config_db
22:43:26 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:43:26 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:43:30 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:43:30 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
22:43:50 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:43:54 config_reload.config_reload L0144 INFO | reloading config_db
22:45:17 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:45:17 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:45:21 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:45:21 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
22:45:41 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config22:45:55 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario22:45:55 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-1
22:45:56 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-1
22:45:57 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-1
22:45:57 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-2
22:45:58 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-2
22:45:59 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-2
22:45:59 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-3
22:46:00 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-3
22:46:00 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-3
22:46:01 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-4
22:46:01 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-4
22:46:02 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-4
22:46:02 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
INFO:root:Can not get Allure report URL. Please check logs
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
22:46:02 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
======================== 1 passed in 9290.95s (2:34:50) ========================
✅ Scenario succeeded on attempt 1: test_sonic/integration_scen/scenario_bgp_policy.yaml
Test finished for test_sonic/integration_scen/scenario_bgp_policy.yaml.
Processing test logs. . .
[INFO] Running python script...
[['20:12:13'], ['20:12:13', '20:12:13', '20:12:13', '20:12:13'], ['20:12:13', '20:12:19', '20:12:25', '20:12:30', '20:12:36', '20:12:41', '20:12:47', '20:12:53', '20:12:58', '20:13:04', '20:13:10', '20:13:15', '20:13:21', '20:13:27', '20:13:32', '20:13:38', '20:13:44', '20:13:49'], ['20:13:55', '20:14:03', '20:14:10', '20:14:18', '20:14:26', '20:14:32', '20:14:37', '20:14:43', '20:14:48', '20:14:53', '20:14:59', '20:15:04', '20:15:10', '20:15:15', '20:15:21', '20:15:26', '20:15:32', '20:15:37', '20:15:42', '20:15:48', '20:15:53', '20:15:59', '20:16:04', '20:16:10', '20:16:15', '20:16:21', '20:16:26', '20:16:31', '20:16:37', '20:16:42', '20:16:48', '20:16:53', '20:16:59', '20:17:04', '20:17:09', '20:17:15', '20:17:20', '20:17:26', '20:17:31', '20:17:37', '20:17:42', '20:17:47', '20:17:53', '20:17:59', '20:18:04', '20:18:10', '20:18:15', '20:18:21', '20:18:26', '20:18:31', '20:18:37', '20:18:42', '20:18:48', '20:18:53', '20:18:59', '20:19:04', '20:19:10', '20:19:15', '20:19:31', '20:19:37', '20:19:42', '20:19:48', '20:19:53', '20:19:58', '20:20:04', '20:20:09', '20:20:15', '20:20:20', '20:20:26', '20:20:31', '20:20:37', '20:20:42', '20:20:48', '20:20:53', '20:20:58', '20:21:04', '20:21:09', '20:21:15', '20:21:20', '20:21:26', '20:21:31', '20:21:36', '20:21:42', '20:21:47', '20:21:53', '20:21:58', '20:22:03', '20:22:09', '20:22:14', '20:22:20', '20:22:25', '20:22:31', '20:22:36', '20:22:42', '20:22:47', '20:22:52', '20:22:58', '20:23:03', '20:23:09', '20:23:14', '20:23:20', '20:23:25', '20:23:31', '20:23:36', '20:23:41', '20:23:47', '20:23:52', '20:23:58', '20:24:03', '20:24:09', '20:24:14', '20:24:19', '20:24:25', '20:24:30', '20:24:36', '20:24:41', '20:24:46', '20:24:52', '20:24:57', '20:25:03', '20:25:08', '20:25:14', '20:25:19', '20:25:25', '20:25:30', '20:25:36', '20:25:41', '20:25:47', '20:25:52', '20:25:57', '20:26:03', '20:26:08', '20:26:14', '20:26:19', '20:26:25', '20:26:30', '20:26:35', '20:26:41', '20:26:46', '20:26:52', '20:26:57', '20:27:03', '20:27:08', '20:27:13', '20:27:19', '20:27:24', '20:27:30', '20:27:35', '20:27:41', '20:27:46', '20:27:51', '20:27:57', '20:28:02', '20:28:08', '20:28:13', '20:28:19', '20:28:24', '20:28:29', '20:28:35', '20:28:41', '20:28:46', '20:28:52', '20:28:57', '20:29:03', '20:29:08', '20:29:13', '20:29:19', '20:29:24', '20:29:30', '20:29:35', '20:29:41', '20:29:46'], ['20:29:52', '20:29:59', '20:30:07', '20:30:15', '20:30:23', '20:30:28', '20:30:34', '20:30:39', '20:30:45', '20:30:50', '20:30:55', '20:31:01', '20:31:07', '20:31:12', '20:31:17', '20:31:23', '20:31:28', '20:31:34', '20:31:39', '20:31:45', '20:31:50', '20:31:56', '20:32:01', '20:32:07', '20:32:12', '20:32:18', '20:32:23', '20:32:28', '20:32:34', '20:32:39', '20:32:45', '20:32:50', '20:32:56', '20:33:01', '20:33:07', '20:33:12', '20:33:17', '20:33:23', '20:33:28', '20:33:34', '20:33:39', '20:33:45', '20:33:50', '20:33:55', '20:34:01', '20:34:06', '20:34:12', '20:34:17', '20:34:23', '20:34:28', '20:34:33', '20:34:39', '20:34:44', '20:34:50', '20:34:55', '20:35:01', '20:35:06', '20:35:11', '20:35:17', '20:35:22', '20:35:28', '20:35:33', '20:35:39', '20:35:44', '20:35:50', '20:35:55', '20:36:00', '20:36:06', '20:36:11', '20:36:17', '20:36:22', '20:36:28', '20:36:33', '20:36:39', '20:36:44', '20:36:49', '20:36:55', '20:37:00', '20:37:06', '20:37:11', '20:37:16', '20:37:22', '20:37:27', '20:37:33', '20:37:38', '20:37:44', '20:37:49', '20:37:54', '20:38:00', '20:38:05', '20:38:11', '20:38:16', '20:38:22', '20:38:27', '20:38:32', '20:38:38', '20:38:43', '20:38:49', '20:38:54', '20:39:00', '20:39:05', '20:39:11', '20:39:16', '20:39:22', '20:39:27', '20:39:32', '20:39:38', '20:39:43', '20:39:49', '20:39:54', '20:40:00', '20:40:05', '20:40:11', '20:40:16', '20:40:21', '20:40:27', '20:40:32', '20:40:38', '20:40:43', '20:40:49', '20:40:54', '20:40:59', '20:41:15', '20:41:21', '20:41:26', '20:41:31', '20:41:37', '20:41:42', '20:41:48', '20:41:53', '20:41:58', '20:42:04', '20:42:09', '20:42:15', '20:42:20', '20:42:26', '20:42:31', '20:42:37', '20:42:42', '20:42:48', '20:42:53', '20:42:59', '20:43:04', '20:43:09', '20:43:15', '20:43:20', '20:43:26', '20:43:31', '20:43:36', '20:43:42', '20:43:47', '20:43:53', '20:43:58', '20:44:04', '20:44:09', '20:44:14', '20:44:20', '20:44:25', '20:44:31', '20:44:36', '20:44:42', '20:44:47', '20:44:52', '20:44:58', '20:45:03', '20:45:09', '20:45:14', '20:45:20', '20:45:25', '20:45:30', '20:45:36', '20:45:41'], ['20:45:47', '20:45:55', '20:46:02', '20:46:10', '20:46:18', '20:46:24', '20:46:29', '20:46:35', '20:46:40', '20:46:46', '20:46:51', '20:46:56', '20:47:02', '20:47:07', '20:47:13', '20:47:18', '20:47:24', '20:47:29', '20:47:34', '20:47:40', '20:47:45', '20:47:51', '20:47:56', '20:48:02', '20:48:07', '20:48:12', '20:48:18', '20:48:23', '20:48:29', '20:48:34', '20:48:40', '20:48:45', '20:48:50', '20:48:56', '20:49:01', '20:49:07', '20:49:12', '20:49:18', '20:49:23', '20:49:29', '20:49:34', '20:49:40', '20:49:45', '20:49:51', '20:49:56', '20:50:01', '20:50:07', '20:50:12', '20:50:18', '20:50:23', '20:50:29', '20:50:34', '20:50:40', '20:50:45', '20:50:50', '20:50:56', '20:51:01', '20:51:07', '20:51:12', '20:51:18', '20:51:23', '20:51:29', '20:51:34', '20:51:39', '20:51:45', '20:51:50', '20:51:56', '20:52:01', '20:52:07', '20:52:12', '20:52:18', '20:52:23', '20:52:28', '20:52:34', '20:52:39', '20:52:45', '20:52:50', '20:52:56', '20:53:01', '20:53:06', '20:53:12', '20:53:17', '20:53:23', '20:53:28', '20:53:34', '20:53:39', '20:53:45', '20:53:50', '20:53:56', '20:54:01', '20:54:06', '20:54:12', '20:54:17', '20:54:23', '20:54:28', '20:54:34', '20:54:39', '20:54:44', '20:54:50', '20:54:55', '20:55:01', '20:55:06', '20:55:12', '20:55:17', '20:55:22', '20:55:28', '20:55:33', '20:55:39', '20:55:44', '20:55:50', '20:55:55', '20:56:00', '20:56:06', '20:56:11', '20:56:17', '20:56:22', '20:56:28', '20:56:33', '20:56:39', '20:56:44', '20:56:50', '20:56:55', '20:57:01', '20:57:06', '20:57:11', '20:57:17', '20:57:22', '20:57:28', '20:57:33', '20:57:39', '20:57:44', '20:57:49', '20:57:55', '20:58:00', '20:58:06', '20:58:11', '20:58:17', '20:58:22', '20:58:28', '20:58:33', '20:58:38', '20:58:44', '20:58:49', '20:58:55', '20:59:00', '20:59:06', '20:59:11', '20:59:16', '20:59:22', '20:59:27', '20:59:33', '20:59:38', '20:59:44', '20:59:49', '20:59:54', '21:00:00', '21:00:05', '21:00:11', '21:00:16', '21:00:22', '21:00:27', '21:00:33', '21:00:38', '21:00:44', '21:00:49', '21:00:55', '21:01:00', '21:01:06', '21:01:11', '21:01:16', '21:01:22', '21:01:27'], ['21:01:33', '21:01:40', '21:01:48', '21:01:56', '21:02:04', '21:02:09', '21:02:15', '21:02:20', '21:02:26', '21:02:31', '21:02:37', '21:02:42', '21:02:57', '21:03:02', '21:03:08', '21:03:13', '21:03:19', '21:03:24', '21:03:29', '21:03:35', '21:03:40', '21:03:46', '21:03:51', '21:03:57', '21:04:02', '21:04:08', '21:04:13', '21:04:19', '21:04:24', '21:04:30', '21:04:35', '21:04:41', '21:04:46', '21:04:52', '21:04:57', '21:05:03', '21:05:08', '21:05:14', '21:05:19', '21:05:24', '21:05:30', '21:05:35', '21:05:41', '21:05:46', '21:05:52', '21:05:57', '21:06:02', '21:06:08', '21:06:13', '21:06:19', '21:06:24', '21:06:30', '21:06:35', '21:06:40', '21:06:46', '21:06:51', '21:06:57', '21:07:02', '21:07:08', '21:07:13', '21:07:18', '21:07:24', '21:07:29', '21:07:35', '21:07:40', '21:07:46', '21:07:51', '21:07:57', '21:08:02', '21:08:08', '21:08:13', '21:08:19', '21:08:24', '21:08:29', '21:08:35', '21:08:40', '21:08:46', '21:08:51', '21:08:57', '21:09:02', '21:09:07', '21:09:13', '21:09:18', '21:09:24', '21:09:29', '21:09:34', '21:09:40', '21:09:45', '21:09:51', '21:09:56', '21:10:02', '21:10:07', '21:10:12', '21:10:18', '21:10:23', '21:10:29', '21:10:34', '21:10:40', '21:10:45', '21:10:50', '21:10:56', '21:11:01', '21:11:07', '21:11:12', '21:11:18', '21:11:23', '21:11:29', '21:11:34', '21:11:40', '21:11:45', '21:11:50', '21:11:56', '21:12:01', '21:12:07', '21:12:12', '21:12:18', '21:12:23', '21:12:29', '21:12:34', '21:12:39', '21:12:45', '21:12:50', '21:12:56', '21:13:01', '21:13:07', '21:13:12', '21:13:17', '21:13:23', '21:13:28', '21:13:34', '21:13:39', '21:13:45', '21:13:50', '21:13:55', '21:14:01', '21:14:06', '21:14:12', '21:14:17', '21:14:23', '21:14:28', '21:14:34', '21:14:39', '21:14:44', '21:14:50', '21:14:55', '21:15:01', '21:15:06', '21:15:12', '21:15:17', '21:15:23', '21:15:28', '21:15:34', '21:15:39', '21:15:44', '21:15:50', '21:15:55', '21:16:01', '21:16:06', '21:16:12', '21:16:17', '21:16:23', '21:16:28', '21:16:33', '21:16:39', '21:16:44', '21:16:50', '21:16:55', '21:17:01', '21:17:06', '21:17:11', '21:17:17', '21:17:22'], ['21:17:28', '21:17:36', '21:17:43', '21:17:51', '21:17:57', '21:18:02', '21:18:07', '21:18:13', '21:18:18', '21:18:24', '21:18:29', '21:18:35', '21:18:40', '21:18:46', '21:18:51', '21:18:57', '21:19:02', '21:19:07', '21:19:13', '21:19:18', '21:19:24', '21:19:29', '21:19:34', '21:19:40', '21:19:45', '21:19:51', '21:19:56', '21:20:02', '21:20:07', '21:20:12', '21:20:18', '21:20:23', '21:20:29', '21:20:34', '21:20:40', '21:20:45', '21:20:51', '21:20:56', '21:21:01', '21:21:07', '21:21:12', '21:21:18', '21:21:23', '21:21:29', '21:21:34', '21:21:39', '21:21:45', '21:21:50', '21:21:56', '21:22:01', '21:22:07', '21:22:12', '21:22:18', '21:22:23', '21:22:29', '21:22:34', '21:22:40', '21:22:45', '21:22:51', '21:22:56', '21:23:01', '21:23:07', '21:23:12', '21:23:18', '21:23:23', '21:23:29', '21:23:34', '21:23:39', '21:23:45', '21:23:50', '21:23:56', '21:24:01', '21:24:07', '21:24:12', '21:24:17', '21:24:23', '21:24:39', '21:24:44', '21:24:50', '21:24:55', '21:25:00', '21:25:06', '21:25:11', '21:25:17', '21:25:22', '21:25:28', '21:25:33', '21:25:39', '21:25:44', '21:25:49', '21:25:55', '21:26:00', '21:26:06', '21:26:12', '21:26:17', '21:26:23', '21:26:28', '21:26:34', '21:26:39', '21:26:44', '21:26:50', '21:26:55', '21:27:01', '21:27:06', '21:27:12', '21:27:17', '21:27:22', '21:27:28', '21:27:33', '21:27:39', '21:27:44', '21:27:50', '21:27:55', '21:28:00', '21:28:06', '21:28:11', '21:28:17', '21:28:22', '21:28:27', '21:28:33', '21:28:38', '21:28:44', '21:28:49', '21:28:55', '21:29:00', '21:29:06', '21:29:11', '21:29:16', '21:29:22', '21:29:27', '21:29:33', '21:29:38', '21:29:44', '21:29:49', '21:29:55', '21:30:00', '21:30:05', '21:30:11', '21:30:16', '21:30:22', '21:30:27', '21:30:33', '21:30:38', '21:30:43', '21:30:49', '21:30:54', '21:31:00', '21:31:05', '21:31:11', '21:31:16', '21:31:22', '21:31:27', '21:31:32', '21:31:38', '21:31:43', '21:31:49', '21:31:54', '21:32:00', '21:32:05', '21:32:10', '21:32:16', '21:32:21', '21:32:27', '21:32:32', '21:32:37', '21:32:43', '21:32:48', '21:32:54', '21:32:59', '21:33:05', '21:33:10', '21:33:16', '21:33:21', '21:33:27', '21:33:32', '21:33:38', '21:33:43', '21:33:48', '21:33:54', '21:33:59', '21:34:05', '21:34:10', '21:34:16', '21:34:21', '21:34:26', '21:34:32', '21:34:37', '21:34:43', '21:34:48', '21:34:54', '21:34:59', '21:35:04', '21:35:10', '21:35:15', '21:35:21', '21:35:26', '21:35:32', '21:35:37', '21:35:42', '21:35:48', '21:35:53', '21:35:59', '21:36:04', '21:36:10', '21:36:15', '21:36:20', '21:36:26', '21:36:31', '21:36:37', '21:36:42', '21:36:48', '21:36:53', '21:36:59', '21:37:04', '21:37:10', '21:37:15', '21:37:21', '21:37:26', '21:37:31', '21:37:37', '21:37:42', '21:37:48', '21:37:53', '21:37:59', '21:38:04', '21:38:09', '21:38:15', '21:38:20', '21:38:26', '21:38:31', '21:38:37', '21:38:42', '21:38:47', '21:38:53', '21:38:58', '21:39:04', '21:39:09', '21:39:14', '21:39:20', '21:39:25', '21:39:31', '21:39:36', '21:39:42', '21:39:47', '21:39:52', '21:39:58', '21:40:03', '21:40:09', '21:40:14', '21:40:20', '21:40:25', '21:40:31', '21:40:36', '21:40:42', '21:40:47', '21:40:52', '21:40:58', '21:41:03', '21:41:09', '21:41:14', '21:41:20', '21:41:25', '21:41:30', '21:41:36', '21:41:41', '21:41:47', '21:41:52', '21:41:58', '21:42:03', '21:42:09', '21:42:14', '21:42:20', '21:42:25', '21:42:30', '21:42:36', '21:42:41', '21:42:47', '21:42:52', '21:42:58', '21:43:03', '21:43:09', '21:43:14', '21:43:20', '21:43:25', '21:43:30', '21:43:36', '21:43:41', '21:43:47', '21:43:52', '21:43:58', '21:44:03', '21:44:09', '21:44:14', '21:44:20', '21:44:25', '21:44:31', '21:44:36', '21:44:42', '21:44:47', '21:44:52', '21:44:58'], ['21:45:03', '21:45:11', '21:45:19', '21:45:27', '21:45:32', '21:45:38', '21:45:43', '21:45:49', '21:45:54', '21:46:00', '21:46:05', '21:46:14', '21:46:19', '21:46:25', '21:46:30', '21:46:36', '21:46:41', '21:46:47', '21:46:52', '21:46:58', '21:47:03', '21:47:09', '21:47:14', '21:47:19', '21:47:25', '21:47:30', '21:47:36', '21:47:41', '21:47:47', '21:47:52', '21:47:58', '21:48:03', '21:48:09', '21:48:14', '21:48:20', '21:48:25', '21:48:30', '21:48:36', '21:48:41', '21:48:47', '21:48:52', '21:48:58', '21:49:03', '21:49:08', '21:49:14', '21:49:19', '21:49:25', '21:49:30', '21:49:36', '21:49:41', '21:49:47', '21:49:52', '21:49:58', '21:50:03', '21:50:08', '21:50:14', '21:50:19', '21:50:25', '21:50:30', '21:50:36', '21:50:41', '21:50:46', '21:50:52', '21:50:57', '21:51:03', '21:51:08', '21:51:14', '21:51:19', '21:51:25', '21:51:30', '21:51:35', '21:51:41', '21:51:46', '21:51:52', '21:51:57', '21:52:02', '21:52:08', '21:52:13', '21:52:19', '21:52:24', '21:52:30', '21:52:35', '21:52:40', '21:52:46', '21:52:51', '21:52:57', '21:53:02', '21:53:08', '21:53:13', '21:53:18', '21:53:24', '21:53:29', '21:53:35', '21:53:40', '21:53:46', '21:53:51', '21:53:56', '21:54:02', '21:54:07', '21:54:13', '21:54:18', '21:54:24', '21:54:29', '21:54:35', '21:54:40', '21:54:46', '21:54:51', '21:54:56', '21:55:02', '21:55:07', '21:55:13', '21:55:18', '21:55:24', '21:55:29', '21:55:35', '21:55:40', '21:55:46', '21:55:51', '21:55:56', '21:56:02', '21:56:07', '21:56:13', '21:56:18', '21:56:24', '21:56:29', '21:56:34', '21:56:40', '21:56:45', '21:56:51', '21:56:56', '21:57:01', '21:57:07', '21:57:12', '21:57:18', '21:57:23', '21:57:29', '21:57:34', '21:57:40', '21:57:45', '21:57:50', '21:57:56', '21:58:01', '21:58:07', '21:58:12', '21:58:18', '21:58:23', '21:58:28', '21:58:34', '21:58:39', '21:58:45', '21:58:50', '21:58:56', '21:59:01', '21:59:07', '21:59:12', '21:59:18', '21:59:23', '21:59:28', '21:59:34', '21:59:39', '21:59:45', '21:59:50', '21:59:56', '22:00:01', '22:00:06', '22:00:12', '22:00:17', '22:00:23', '22:00:28', '22:00:34', '22:00:39', '22:00:44', '22:00:50', '22:00:55', '22:01:01', '22:01:06', '22:01:12', '22:01:17', '22:01:22', '22:01:28', '22:01:33', '22:01:39', '22:01:44', '22:01:50', '22:01:55', '22:02:00', '22:02:06', '22:02:11', '22:02:17', '22:02:22', '22:02:28', '22:02:33', '22:02:39', '22:02:44', '22:02:50', '22:02:55', '22:03:01', '22:03:06', '22:03:12', '22:03:17', '22:03:22', '22:03:28', '22:03:33', '22:03:39', '22:03:44', '22:03:49', '22:03:55', '22:04:00', '22:04:06', '22:04:11', '22:04:17', '22:04:22', '22:04:28', '22:04:33', '22:04:38', '22:04:44', '22:04:49', '22:04:55', '22:05:00', '22:05:06', '22:05:11', '22:05:16', '22:05:22', '22:05:27', '22:05:33', '22:05:38', '22:05:44', '22:05:49', '22:05:54', '22:06:00', '22:06:05', '22:06:11', '22:06:16', '22:06:22', '22:06:27', '22:06:33', '22:06:38', '22:06:44', '22:06:49', '22:06:55', '22:07:00', '22:07:06', '22:07:11', '22:07:16', '22:07:22', '22:07:27', '22:07:33', '22:07:38', '22:07:44', '22:07:49', '22:07:54', '22:08:00', '22:08:05', '22:08:11', '22:08:16', '22:08:22', '22:08:27', '22:08:32', '22:08:38', '22:08:43', '22:08:49', '22:08:54', '22:09:00', '22:09:05', '22:09:10', '22:09:16', '22:09:21', '22:09:27', '22:09:32', '22:09:38', '22:09:43', '22:09:48', '22:09:54', '22:09:59', '22:10:05', '22:10:10', '22:10:16', '22:10:21', '22:10:27', '22:10:32', '22:10:38', '22:10:43', '22:10:49', '22:10:54', '22:10:59', '22:11:05', '22:11:10', '22:11:16', '22:11:21', '22:11:27', '22:11:32', '22:11:37', '22:11:43', '22:11:48', '22:11:54', '22:11:59', '22:12:05', '22:12:10', '22:12:15', '22:12:21', '22:12:26', '22:12:32', '22:12:37', '22:12:43', '22:12:48', '22:12:53', '22:12:59', '22:13:04', '22:13:10', '22:13:15', '22:13:21', '22:13:26', '22:13:31', '22:13:37', '22:13:42', '22:13:48', '22:13:53', '22:13:59', '22:14:04', '22:14:10', '22:14:15', '22:14:21', '22:14:26'], ['22:14:32', '22:14:40', '22:14:47', '22:14:55', '22:15:01', '22:15:06', '22:15:12', '22:15:17', '22:15:22', '22:15:28', '22:15:33', '22:15:39', '22:15:44', '22:15:50', '22:15:55', '22:16:00', '22:16:06', '22:16:11', '22:16:17', '22:16:22', '22:16:28', '22:16:33', '22:16:39', '22:16:44', '22:16:49', '22:16:55', '22:17:00', '22:17:06', '22:17:11', '22:17:17', '22:17:22', '22:17:28', '22:17:34', '22:17:39', '22:17:44', '22:17:50', '22:17:55', '22:18:01', '22:18:06', '22:18:12', '22:18:17', '22:18:23', '22:18:28', '22:18:33', '22:18:39', '22:18:44', '22:18:50', '22:18:55', '22:19:01', '22:19:06', '22:19:11', '22:19:17', '22:19:22', '22:19:28', '22:19:33', '22:19:38', '22:19:44'], ['22:19:49', '22:19:57', '22:20:05', '22:20:13', '22:20:21', '22:20:26', '22:20:31', '22:20:37', '22:20:42', '22:20:48', '22:20:53', '22:20:59', '22:21:04', '22:21:10', '22:21:15', '22:21:21', '22:21:26', '22:21:32', '22:21:37', '22:21:42', '22:21:48', '22:21:53'], ['22:21:59', '22:22:06', '22:22:14', '22:22:22', '22:22:30', '22:22:35', '22:22:41', '22:22:46', '22:22:52', '22:22:57', '22:23:03', '22:23:08', '22:23:13', '22:23:19', '22:23:24', '22:23:30', '22:23:35', '22:23:41', '22:23:46', '22:23:51', '22:23:57', '22:24:02', '22:24:08', '22:24:13', '22:24:19', '22:24:24', '22:24:30', '22:24:35', '22:24:41', '22:24:46', '22:24:52'], ['22:24:57', '22:25:05', '22:25:13', '22:25:21', '22:25:26', '22:25:32', '22:25:37', '22:25:42', '22:25:48', '22:25:53', '22:25:59', '22:26:04', '22:26:10'], ['22:26:15', '22:26:23', '22:26:31', '22:26:38', '22:26:46', '22:26:52', '22:26:57', '22:27:02', '22:27:08', '22:27:13', '22:27:19', '22:27:24', '22:27:30', '22:27:35', '22:27:41', '22:27:46', '22:27:51', '22:27:57', '22:28:03', '22:28:08', '22:28:13', '22:28:19', '22:28:24', '22:28:30', '22:28:35', '22:28:41'], ['22:28:46', '22:28:54', '22:29:02', '22:29:10', '22:29:17', '22:29:23', '22:29:33', '22:29:38', '22:29:43', '22:29:49', '22:29:54', '22:30:00', '22:30:05', '22:30:11', '22:30:16', '22:30:22', '22:30:27', '22:30:32', '22:30:38', '22:30:43', '22:30:49'], ['22:30:54', '22:31:02', '22:31:10', '22:31:18', '22:31:26', '22:31:31', '22:31:37', '22:31:42', '22:31:48', '22:31:53', '22:31:58', '22:32:04', '22:32:09', '22:32:15', '22:32:20', '22:32:26', '22:32:31', '22:32:37', '22:32:42', '22:32:47', '22:32:53', '22:32:58', '22:33:04', '22:33:09', '22:33:15', '22:33:20', '22:33:25', '22:33:31', '22:33:36', '22:33:42', '22:33:47', '22:33:53', '22:33:58', '22:34:03', '22:34:09', '22:34:14', '22:34:20', '22:34:25', '22:34:31', '22:34:36', '22:34:41', '22:34:47', '22:34:52', '22:34:58', '22:35:03', '22:35:09', '22:35:14', '22:35:20', '22:35:25', '22:35:30', '22:35:38', '22:35:46', '22:35:54', '22:36:02', '22:36:13', '22:36:19', '22:36:24', '22:36:30', '22:36:35', '22:36:41', '22:36:46', '22:36:51', '22:36:57', '22:37:02', '22:37:08', '22:37:13', '22:37:19', '22:37:24', '22:37:32', '22:37:40', '22:37:47', '22:37:55', '22:38:01', '22:38:06', '22:38:12']]
scenario_bgp_policy
val:L3-BGP Topology
val:session check R-1
val:session Check R-2
val:session Check R-3
val:session Check R-4
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-1
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-2
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-3
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Assign IPv4 on R-4
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D 0.0.0.0
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny host A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D 0.0.0.0
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny host A.B.C.D
val:Set distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Verification distribute-list out
val:Delete distribute-list out
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Delete
val:Delete
val:Delete
val:Delete
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D 0.0.0.0
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set access-list deny host A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D 0.0.0.0
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set deny host A.B.C.D
val:Set distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Verification distribute-list in
val:Delete distribute-list in
val:Delete access-list standard
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Delete
val:Delete
val:Delete
val:Delete
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD -default
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD - ge & le
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD - ge
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD - le
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - Default
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - ge & le
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - ge
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - le
val:Set prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Verification prefix-list out
val:Delete prefix-list out
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Delete
val:Default01-Delete
val:Default01-Delete
val:Default01-Delete
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Set
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD -default
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD -ge & le
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD -ge
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD - le
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - Default
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - ge & le
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - ge
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Set ip prefix-list WORD seq NUM - le
val:Set prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Verification prefix-list in
val:Delete prefix-list in
val:Delete ip prefix-list WORD
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Verification
val:Default01-Delete
val:Default01-Delete
val:Default01-Delete
val:Default01-Delete
val:Default02-Set
val:Default02-Set
val:Default02-Set
val:Default02-Verification
val:Default02-Verification
val:Default02-Verification
val:Set match ip address
val:Set access-list deny A.B.C.D 0.0.0.0
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete - Delete Metric
val:03 - Delete - Delete Metric
val:RouteMap and Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete - Delete Metric
val:03 - Delete - Delete Metric
val:Delete access-list
val:Set access-list deny A.B.C.D A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Set access-list deny A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Set access-list deny host A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Delete route-map
val:Set route-map
val:Set deny A.B.C.D 0.0.0.0
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny A.B.C.D A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny host A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Delete route-map
val:Set match ip address prefix-list
val:Set ip prefix-list WORD - Default
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD - ge & le
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD - ge
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD seq NUM - Default
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD seq NUM - ge & le
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Delete route-map
val:Default02 - Delete
val:Default02 - Delete
val:Default02 - Delete
val:Default02-Set
val:Default02-Set
val:Default02-Set
val:Default02-Verification
val:Default02-Verification
val:Default02-Verification
val:Set match ip next-hop
val:Set access-list deny A.B.C.D 0.0.0.0
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete - Delete Metric
val:03 - Delete - Delete Metric
val:RouteMap and Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete - Delete Metric
val:03 - Delete - Delete Metric
val:Delete access-list
val:Set access-list deny A.B.C.D A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Set access-list deny A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Set access-list deny host A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list
val:Delete route-map
val:Set route-map
val:Set deny A.B.C.D 0.0.0.0
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny A.B.C.D A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Set deny host A.B.C.D
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete access-list standard
val:Delete route-map
val:Set match ip next-hop prefix-list
val:Set ip prefix-list WORD - Default
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD - ge & le
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD - ge
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD seq NUM - Default
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD seq NUM - ge & le
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Set ip prefix-list WORD seq NUM - ge
val:Default Metric - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set
val:02 - Verification
val:02 - Verification
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Redistribute Metric Set - 01 - Set metric
val:Redistribute Metric Set - 01 - Set metric
val:02 - Verification
val:02 - Verification
val:03 - Delete metric
val:03 - Delete
val:Delete ip prefix-list WORD
val:Delete route-map
val:Default02 - Delete
val:Default02 - Delete
val:Default02 - Delete
val:Default01-Set Default
val:Default01-Set Default
val:Default01-Set Default
val:Default02-Verification
val:Default02-Verification
val:Default02-Verification
val:01 - Set match ip address
val:01 - Set for match ip address
val:Set redistribute static route-map
val:01 - Verification
val:01 - Verification
val:02 - Delete redistribute static
val:02 - Delete for match ip address
val:Delete RouteMap
val:01 - Set match ip address
val:01 - Set for match ip address
val:Set redistribute static route-map
val:01 - Verification
val:01 - Verification
val:02 - Delete redistribute static
val:02 - Delete for match ip address
val:Delete RouteMap
val:Set match ip next-hop
val:02 - Set for match ip next-hop
val:Set redistribute static route-map
val:02 - Verification ip next-hop
val:02 - Verification ip next-hop
val:02 - Delete redistribute static
val:02 - Delete for match ip next-hop
val:Delete RouteMap
val:Set match ip next-hop
val:03 - Set for match ip next-hop
val:Set redistribute static route-map
val:02 - Verification ip next-hop
val:02 - Verification ip next-hop
val:02 - Delete redistribute static
val:02 - Delete for match ip next-hop
val:Delete RouteMap
val:01 - Set match ip address
val:01 - Set for match ip address
val:01 - Set redistribute static route-map
val:01 - Verification ip address
val:01 - Verification ip address
val:02 - Delete redistribute static
val:02 - Delete for match ip address
val:Delete RouteMap
val:01 - Set match ip next-hop
val:03 - Set for match ip next-hop
val:01 - Set redistribute static route-map
val:02 - Verification ip next-hop
val:02 - Verification ip next-hop
val:02 - Delete redistribute static
val:04 - Delete for match ip address
val:Delete RouteMap
val:02 - Delete Default
val:02 - Delete Default
val:02 - Delete Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Set bgp as-path access-list
val:Set route-map
val:Set neighbor route-map
val:Verification route-map
val:Verification route-map
val:Delete neighbor route-map
val:Delete route-map
val:Delete bgp as-path access-list
val:Verification Default
val:Verification Default
val:Verification Default
val:Delete Default
val:Delete Default
val:Delete Default
val:Delete Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Set Redistribute connected
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Set bgp as-path access-list
val:Set route-map
val:Set neighbor route-map
val:Verification route-map
val:Verification route-map
val:Verification route-map
val:Verification route-map
val:Delete neighbor route-map
val:Delete route-map
val:Delete bgp as-path access-list
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Verification Redistribute connected
val:Delete Redistribute connected
val:Delete Default
val:Delete Default
val:Delete Default
val:Delete Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Verification default
val:Set route-map
val:Set neighbor route-map
val:Verification route-map
val:Verification route-map
val:Delete neighbor route-map
val:Delete route-map
val:Delete Default
val:Delete Default
val:Delete Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Verification default
val:Verification default
val:Set access-list
val:Set access-list
val:Set route-map
val:Set route-map
val:Set neighbor route-map
val:Set neighbor route-map
val:Verification neighbor route-map
val:Verification neighbor route-map
val:Delete neighbor route-map
val:Delete neighbor route-map
val:Delete route-map
val:Delete route-map
val:Delete access-list
val:Delete access-list
val:Verification default
val:Verification default
val:Delete Default
val:Delete Default
val:Delete Default
val:Delete Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Default - Set Default
val:Verification default
val:Verification default
val:Set route-map
val:Set route-map
val:Set neighbor route-map
val:Set neighbor route-map
val:Verification neighbor route-map
val:Verification neighbor route-map
val:Delete neighbor route-map
val:Delete neighbor route-map
val:Delete route-map
val:Delete route-map
val:Verification default
val:Verification default
val:Delete Default
val:Delete Default
val:Delete Default
val:Default Set
val:Default Set
val:Default Set
val:Default Set
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Verification Default
val:Set01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Verification01 - no-export
val:Delete01 - no-export
val:Set02 - no-advertise
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Verification02 - no-adverties
val:Delete02 - no-advertise
val:Set03 - local-AS
val:Set03 - local-AS
val:Set03 - local-AS
val:Set03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Verification03 - local-AS
val:Delete03 - local-AS
val:Delete03 - local-AS
val:Delete03 - local-AS
val:Delete03 - local-AS
val:Default Delete
val:Default Delete
val:Default Delete
val:Default Delete
Saved HTML : converter_report/scenario_dir/scenario_bgp_policy.html
✅ Complete convert test report. . .
Waiting 20s before the next scenario...
===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_inter_vlan.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: SW-1,SW-2
H/TG Devices: H-1,H-2,H-3,H-4
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d SW-1,SW-2 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_inter_vlan.yaml -H H-1,H-2,H-3,H-4
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern SW-1,SW-2 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_inter_vlan.yaml --showlocals --assert plain --show-capture no -rav --ubuntu-host H-1,H-2,H-3,H-4 --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
22:46:24 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
22:46:26 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
22:46:27 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
22:46:27 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
22:46:27 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
22:46:28 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
22:46:29 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
22:46:29 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
22:46:29 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
22:46:29 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:29 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
22:46:29 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
22:46:29 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo22:46:29 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc22:46:29 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:32 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/SW-1
22:46:32 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/SW-1/host_visible_vars.pickle
22:46:32 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/SW-1/basic_facts.pickle
22:46:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:33 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.os_version" to /data/NetAutoTestFW/tests/_cache/SW-1/os_version.pickle
22:46:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:34 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.feature_status" to /data/NetAutoTestFW/tests/_cache/SW-1/feature_status.pickle
22:46:34 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:34 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/SW-1/sonic_release.pickle
22:46:34 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:34 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/SW-1/kernel_version.pickle
22:46:35 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:37 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/SW-2
22:46:37 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/SW-2/host_visible_vars.pickle
22:46:38 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/SW-2/basic_facts.pickle
22:46:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:38 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.os_version" to /data/NetAutoTestFW/tests/_cache/SW-2/os_version.pickle
22:46:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:39 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.feature_status" to /data/NetAutoTestFW/tests/_cache/SW-2/feature_status.pickle
22:46:39 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:39 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/SW-2/sonic_release.pickle
22:46:39 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/SW-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:46:40 facts_cache.write L0121 INFO | [Cache] Cached facts "SW-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/SW-2/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property22:46:41 conftest.tag_test_report L0411 INFO | login_user : ubuntu
conn_type : ssh
mgmt_ipv4 : 10.250.0.101
port : 22
22:46:41 conftest.tag_test_report L0411 INFO | login_user : ubuntu
conn_type : ssh
mgmt_ipv4 : 10.250.0.102
port : 22
22:46:41 conftest.tag_test_report L0411 INFO | login_user : ubuntu
conn_type : ssh
mgmt_ipv4 : 10.250.0.103
port : 22
22:46:41 conftest.tag_test_report L0411 INFO | login_user : ubuntu
conn_type : ssh
mgmt_ipv4 : 10.250.0.104
port : 22
22:46:41 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.10
port : 22
22:46:41 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.11
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context22:46:41 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)22:46:41 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on SW-1
22:46:42 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on SW-1
22:46:42 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on SW-1
22:46:42 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on SW-1
22:46:43 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on SW-2
22:46:44 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on SW-2
22:46:44 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on SW-2
22:46:44 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on SW-2
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)22:46:45 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_inter_vlan.yaml
22:46:45 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_inter_vlan.yaml
22:46:45 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_inter_vlan.yaml
22:46:45 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario22:46:45 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)22:46:55 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
22:46:56 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.10/24': {'gwaddr': '10.250.0.1'}}
22:46:56 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:SW-1
username:admin
password:password
22:46:56 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:46:56 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:46:56 transport._log L1873 INFO | Authentication (publickey) failed.
22:46:56 transport._log L1873 INFO | Authentication (password) successful!
22:46:56 session.sonic_paramiko_ssh L0046 INFO | output:
Linux SW-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:54 2026
admin@SW-1:~$
22:46:57 session.sonic_paramiko_ssh L0056 INFO |
hostname: SW-1
22:46:58 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.11/24': {'gwaddr': '10.250.0.1'}}
22:46:58 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:SW-2
username:admin
password:password
22:46:58 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:46:58 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:46:58 transport._log L1873 INFO | Authentication (publickey) failed.
22:46:58 transport._log L1873 INFO | Authentication (password) successful!
22:46:58 session.sonic_paramiko_ssh L0046 INFO | output:
Linux SW-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:03:41 2026
admin@SW-2:~$
22:46:59 session.sonic_paramiko_ssh L0056 INFO |
hostname: SW-2
22:46:59 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)22:46:59 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
22:46:59 session.ubuntu_paramiko_ssh L0072 INFO |
ubuntu_ip : 10.250.0.101
ubuntu_user : ubuntu
ubuntu_pw : password
22:46:59 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:00 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:00 transport._log L1873 INFO | Authentication (password) successful!
22:47:00 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:00 UTC 2026
System load: 0.0 Processes: 141
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.101
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-1:~$
22:47:01 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:01 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:01 transport._log L1873 INFO | Authentication (password) successful!
22:47:02 session.ubuntu_paramiko_ssh L0072 INFO |
ubuntu_ip : 10.250.0.102
ubuntu_user : ubuntu
ubuntu_pw : password
22:47:02 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:02 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:02 transport._log L1873 INFO | Authentication (password) successful!
22:47:03 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:02 UTC 2026
System load: 0.0 Processes: 142
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.102
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
22:47:03 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:02 UTC 2026
System load: 0.0 Processes: 142
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.102
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
22:47:03 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:02 UTC 2026
System load: 0.0 Processes: 142
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.102
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-2:~$
22:47:04 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:04 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:04 transport._log L1873 INFO | Authentication (password) successful!
22:47:04 session.ubuntu_paramiko_ssh L0072 INFO |
ubuntu_ip : 10.250.0.103
ubuntu_user : ubuntu
ubuntu_pw : password
22:47:04 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:04 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:04 transport._log L1873 INFO | Authentication (password) successful!
22:47:05 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:04 UTC 2026
System load: 0.0 Processes: 143
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.103
Swap usage: 0%
* Ubuntu 20.04 LTS Focal Fossa has reached its end of standard support
on 31 May 2025.
For more details see:
https://ubuntu.com/20-04
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** S
22:47:05 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:04 UTC 2026
System load: 0.0 Processes: 143
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.103
Swap usage: 0%
* Ubuntu 20.04 LTS Focal Fossa has reached its end of standard support
on 31 May 2025.
For more details see:
https://ubuntu.com/20-04
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
22:47:05 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:04 UTC 2026
System load: 0.0 Processes: 143
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.103
Swap usage: 0%
* Ubuntu 20.04 LTS Focal Fossa has reached its end of standard support
on 31 May 2025.
For more details see:
https://ubuntu.com/20-04
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-3:~$
22:47:06 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:06 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:06 transport._log L1873 INFO | Authentication (password) successful!
22:47:06 session.ubuntu_paramiko_ssh L0072 INFO |
ubuntu_ip : 10.250.0.104
ubuntu_user : ubuntu
ubuntu_pw : password
22:47:07 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:07 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:07 transport._log L1873 INFO | Authentication (password) successful!
22:47:07 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:07 UTC 2026
System load: 0.08 Processes: 135
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.104
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
22:47:07 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:07 UTC 2026
System load: 0.08 Processes: 135
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.104
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
22:47:07 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:07 UTC 2026
System load: 0.08 Processes: 135
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.104
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-4:~$
22:47:08 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
22:47:09 transport._log L1873 INFO | Authentication (publickey) failed.
22:47:09 transport._log L1873 INFO | Authentication (password) successful!
22:47:09 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)22:47:10 __init__.analyzer_logrotate L0023 INFO | logrotate called on SW-2
22:47:10 __init__.analyzer_logrotate L0023 INFO | logrotate called on SW-1
22:47:12 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:47:12 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:47:12 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.235584 seconds
22:47:12 __init__.analyzer_add_marker L0035 INFO | add marker called on SW-1
22:47:12 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host SW-1
22:47:12 __init__.analyzer_add_marker L0035 INFO | add marker called on SW-2
22:47:12 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host SW-2
22:47:14 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:47:14 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:47:14 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:01.818350 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
22:47:14 test_sonic.run_scenario L0098 INFO | test device hostname: , ]>
22:47:14 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
22:47:14 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
22:47:14 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
22:47:14 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: SW-1
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
SW-1
node name:
SW-1
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux SW-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:54 2026
admin@SW-1:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: SW-2
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
SW-2
node name:
SW-2
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux SW-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:03:41 2026
admin@SW-2:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: H-1
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
H-1
node name:
H-1
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:00 UTC 2026
System load: 0.0 Processes: 141
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.101
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-1:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: H-2
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
H-2
node name:
H-2
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:02 UTC 2026
System load: 0.0 Processes: 142
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.102
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-2:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: H-3
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
H-3
node name:
H-3
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:04 UTC 2026
System load: 0.0 Processes: 143
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.103
Swap usage: 0%
* Ubuntu 20.04 LTS Focal Fossa has reached its end of standard support
on 31 May 2025.
For more details see:
https://ubuntu.com/20-04
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-3:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0130 INFO | nodes: H-4
22:47:14 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
H-4
node name:
H-4
22:47:14 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 13:47:07 UTC 2026
System load: 0.08 Processes: 135
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.104
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
ubuntu@H-4:~$
22:47:14 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:47:14 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Check SONiC Version
22:47:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: SW-1
22:47:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:47:20 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:47:14 up 3:45, 1 user, load average: 0.28, 0.17, 0.16
Date: Mon 26 Oct 2026 22:47:14
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:47:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:47:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:47:14 up 3:45, 1 user, load average: 0.28, 0.17, 0.16
Date: Mon 26 Oct 2026 22:47:14
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:47:20 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: SW-2
22:47:20 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:47:25 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:47:20 up 3:46, 1 user, load average: 0.72, 0.60, 0.60
Date: Mon 26 Oct 2026 22:47:20
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:47:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:47:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:47:20 up 3:46, 1 user, load average: 0.72, 0.60, 0.60
Date: Mon 26 Oct 2026 22:47:20
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:47:25 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Create VLAN
22:47:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check VLAN exist on SW-1
node name: SW-1
22:47:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: []
not expect values: ['Error:']
22:47:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
22:47:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:47:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
22:47:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check VLAN exist on SW-2
node name: SW-2
22:47:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: []
not expect values: ['Error:']
22:47:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
22:47:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:47:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
22:47:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Create VLAN 10 on SW-1
node name: SW-1
22:47:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan add 10'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], ['Vlan10 10']]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan add 10'}
expect values: []
not expect values: ['Error:']
22:47:42 test_sonic.run_scenario L0244 INFO |
execute command result:
22:47:42 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:47:42 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:47:42 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan10 10']
not expect values: ['Error:']
22:47:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
22:47:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan10 10']
22:47:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
22:47:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Create VLAN 10 on SW-2
node name: SW-2
22:47:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan add 10'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], ['Vlan10 10']]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan add 10'}
expect values: []
not expect values: ['Error:']
22:47:54 test_sonic.run_scenario L0244 INFO |
execute command result:
22:47:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:47:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:47:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan10 10']
not expect values: ['Error:']
22:47:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
22:47:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan10 10']
22:47:59 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
22:47:59 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Create VLAN 20 on SW-1
node name: SW-1
22:47:59 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan add 20'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], ['Vlan20 20']]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:47:59 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan add 20'}
expect values: []
not expect values: ['Error:']
22:48:05 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan20 20']
not expect values: ['Error:']
22:48:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
Vlan20 20
22:48:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan20 20']
22:48:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
Vlan20 20
22:48:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Create VLAN 20 on SW-2
node name: SW-2
22:48:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan add 20'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], ['Vlan20 20']]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:48:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan add 20'}
expect values: []
not expect values: ['Error:']
22:48:16 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan20 20']
not expect values: ['Error:']
22:48:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
Vlan20 20
22:48:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan20 20']
22:48:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- -------- ------
Vlan10 10
Vlan20 20
22:48:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Add VLAN Member & Assign IP Address to VLAN
22:48:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Switch port mode
node name: SW-1
22:48:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config switchport mode access Ethernet16'}, {'command': 'sudo config switchport mode access Ethernet20'}]
sub scenario expect mode: and
sub scenario expect values: [[], []]
sub scenario not expect values: [[], []]
sub scenario retries: 5
sub scenario delay: 1
22:48:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config switchport mode access Ethernet16'}
expect values: []
not expect values: []
22:48:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Ethernet16 switched to access mode
22:48:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Ethernet16 switched to access mode
22:48:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config switchport mode access Ethernet20'}
expect values: []
not expect values: []
22:48:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Ethernet20 switched to access mode
22:48:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Ethernet20 switched to access mode
22:48:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Add VLAN 10 & VLAN 20 member on SW-1
node name: SW-1
22:48:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan member add 10 Ethernet8'}, {'command': 'sudo config vlan member add 20 Ethernet8'}, {'command': 'sudo config vlan member add 10 -u Ethernet16'}, {'command': 'sudo config vlan member add 20 -u Ethernet20'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], ['Vlan10 10 Ethernet8 tagged', 'Vlan10 10 Ethernet16 untagged', 'Vlan20 20 Ethernet8 tagged', 'Vlan20 20 Ethernet20 untagged']]
sub scenario not expect values: [['Error:'], ['Error:'], ['Error:'], ['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:48:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 10 Ethernet8'}
expect values: []
not expect values: ['Error:']
22:48:39 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 20 Ethernet8'}
expect values: []
not expect values: ['Error:']
22:48:44 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 10 -u Ethernet16'}
expect values: []
not expect values: ['Error:']
22:48:50 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 20 -u Ethernet20'}
expect values: []
not expect values: ['Error:']
22:48:55 test_sonic.run_scenario L0244 INFO |
execute command result:
22:48:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:48:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:48:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan10 10 Ethernet8 tagged', 'Vlan10 10 Ethernet16 untagged', 'Vlan20 20 Ethernet8 tagged', 'Vlan20 20 Ethernet20 untagged']
not expect values: ['Error:']
22:49:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- ---------- --------
Vlan10 10 Ethernet8 tagged
Vlan10 10 Ethernet16 untagged
Vlan20 20 Ethernet8 tagged
Vlan20 20 Ethernet20 untagged
22:49:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan10 10 Ethernet8 tagged', 'Vlan10 10 Ethernet16 untagged', 'Vlan20 20 Ethernet8 tagged', 'Vlan20 20 Ethernet20 untagged']
22:49:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- ---------- --------
Vlan10 10 Ethernet8 tagged
Vlan10 10 Ethernet16 untagged
Vlan20 20 Ethernet8 tagged
Vlan20 20 Ethernet20 untagged
22:49:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Add VLAN 10 IP Address
node name: SW-1
22:49:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Vlan10 10.0.100.1/24'}, {'command': 'sudo config interface ip add Vlan20 10.0.200.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], []]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:49:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Vlan10 10.0.100.1/24'}
expect values: []
not expect values: ['Error:']
22:49:07 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Vlan20 10.0.200.1/24'}
expect values: []
not expect values: ['Error:']
22:49:12 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Switch port mode
node name: SW-2
22:49:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config switchport mode access Ethernet12'}, {'command': 'sudo config switchport mode access Ethernet16'}]
sub scenario expect mode: and
sub scenario expect values: [[], []]
sub scenario not expect values: [[], []]
sub scenario retries: 5
sub scenario delay: 1
22:49:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config switchport mode access Ethernet12'}
expect values: []
not expect values: []
22:49:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Ethernet12 switched to access mode
22:49:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Ethernet12 switched to access mode
22:49:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config switchport mode access Ethernet16'}
expect values: []
not expect values: []
22:49:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Ethernet16 switched to access mode
22:49:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Ethernet16 switched to access mode
22:49:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Add VLAN 10 & VLAN 20 member on SW-2
node name: SW-2
22:49:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config vlan member add 10 Ethernet4'}, {'command': 'sudo config vlan member add 20 Ethernet4'}, {'command': 'sudo config vlan member add 10 -u Ethernet12'}, {'command': 'sudo config vlan member add 20 -u Ethernet16'}, {'command': 'show vlan config'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], ['Vlan10 10 Ethernet4 tagged', 'Vlan10 10 Ethernet12 untagged', 'Vlan20 20 Ethernet4 tagged', 'Vlan20 20 Ethernet16 untagged']]
sub scenario not expect values: [['Error:'], ['Error:'], ['Error:'], ['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:49:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 10 Ethernet4'}
expect values: []
not expect values: ['Error:']
22:49:29 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 20 Ethernet4'}
expect values: []
not expect values: ['Error:']
22:49:35 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 10 -u Ethernet12'}
expect values: []
not expect values: ['Error:']
22:49:40 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config vlan member add 20 -u Ethernet16'}
expect values: []
not expect values: ['Error:']
22:49:46 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show vlan config'}
expect values: ['Vlan10 10 Ethernet4 tagged', 'Vlan10 10 Ethernet12 untagged', 'Vlan20 20 Ethernet4 tagged', 'Vlan20 20 Ethernet16 untagged']
not expect values: ['Error:']
22:49:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Name VID Member Mode
------ ----- ---------- --------
Vlan10 10 Ethernet4 tagged
Vlan10 10 Ethernet12 untagged
Vlan20 20 Ethernet4 tagged
Vlan20 20 Ethernet16 untagged
22:49:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Vlan10 10 Ethernet4 tagged', 'Vlan10 10 Ethernet12 untagged', 'Vlan20 20 Ethernet4 tagged', 'Vlan20 20 Ethernet16 untagged']
22:49:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Name VID Member Mode
------ ----- ---------- --------
Vlan10 10 Ethernet4 tagged
Vlan10 10 Ethernet12 untagged
Vlan20 20 Ethernet4 tagged
Vlan20 20 Ethernet16 untagged
22:49:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Add VLAN 10 IP Address
node name: SW-2
22:49:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Vlan10 10.0.100.1/24'}, {'command': 'sudo config interface ip add Vlan20 10.0.200.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], []]
sub scenario not expect values: [['Error:'], ['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:49:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Vlan10 10.0.100.1/24'}
expect values: []
not expect values: ['Error:']
22:49:57 test_sonic.run_scenario L0244 INFO |
execute command result:
22:49:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:49:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:49:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Vlan20 10.0.200.1/24'}
expect values: []
not expect values: ['Error:']
22:50:03 test_sonic.run_scenario L0244 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Add Default GW
22:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check Eth1 IPv4 Address on H-1
node name: H-1
22:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [['inet 10.0.100.10/24']]
sub scenario not expect values: [['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.100.10/24']
not expect values: ['DOWN']
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:01 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.10/24 brd 10.0.100.255 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:201/64 scope link
valid_lft forever preferred_lft forever
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.100.10/24']
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:01 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.10/24 brd 10.0.100.255 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:201/64 scope link
valid_lft forever preferred_lft forever
22:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw
node name: H-1
22:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.0.100.1 dev Eth1'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.0.100.1 dev Eth1']]
sub scenario not expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario retries: 5
sub scenario delay: 1
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.0.100.1 dev Eth1'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.0.100.1 dev Eth1']
not expect values: ['default via 10.250.0.1 dev mgmt proto static']
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.0.100.1 dev Eth1
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.101
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.0.100.1 dev Eth1']
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.0.100.1 dev Eth1
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.101
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check Eth1 IPv4 Address on H-2
node name: H-2
22:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [['inet 10.0.100.11/24']]
sub scenario not expect values: [['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.100.11/24']
not expect values: ['DOWN']
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:02 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.11/24 brd 10.0.100.255 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:202/64 scope link
valid_lft forever preferred_lft forever
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.100.11/24']
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:02 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.11/24 brd 10.0.100.255 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:202/64 scope link
valid_lft forever preferred_lft forever
22:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw
node name: H-2
22:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.0.100.1 dev Eth1'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.0.100.1 dev Eth1']]
sub scenario not expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario retries: 5
sub scenario delay: 1
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.0.100.1 dev Eth1'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.0.100.1 dev Eth1']
not expect values: ['default via 10.250.0.1 dev mgmt proto static']
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.0.100.1 dev Eth1
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.102
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.0.100.1 dev Eth1']
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.0.100.1 dev Eth1
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.102
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check Eth1 IPv4 Address on H-3
node name: H-3
22:50:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip address del 10.0.100.12/24 dev Eth1'}, {'command': 'sudo ip address add 10.0.200.10/24 dev Eth1'}, {'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['inet 10.0.200.10/24']]
sub scenario not expect values: [[], [], ['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address del 10.0.100.12/24 dev Eth1'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address add 10.0.200.10/24 dev Eth1'}
expect values: []
not expect values: []
22:50:03 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:03 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:03 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:03 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.200.10/24']
not expect values: ['DOWN']
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.200.10/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:203/64 scope link
valid_lft forever preferred_lft forever
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.200.10/24']
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.200.10/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:203/64 scope link
valid_lft forever preferred_lft forever
22:50:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw
node name: H-3
22:50:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.0.200.1 dev Eth1'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.0.200.1 dev Eth1']]
sub scenario not expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario retries: 5
sub scenario delay: 1
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.0.200.1 dev Eth1'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.0.200.1 dev Eth1']
not expect values: ['default via 10.250.0.1 dev mgmt proto static']
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.0.200.1 dev Eth1
10.0.200.0/24 dev Eth1 proto kernel scope link src 10.0.200.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.103
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.0.200.1 dev Eth1']
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.0.200.1 dev Eth1
10.0.200.0/24 dev Eth1 proto kernel scope link src 10.0.200.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.103
22:50:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check Eth1 IPv4 Address on H-4
node name: H-4
22:50:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip address del 10.0.100.13/24 dev Eth1'}, {'command': 'sudo ip address add 10.0.200.11/24 dev Eth1'}, {'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['inet 10.0.200.11/24']]
sub scenario not expect values: [[], [], ['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address del 10.0.100.13/24 dev Eth1'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address add 10.0.200.11/24 dev Eth1'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.200.11/24']
not expect values: ['DOWN']
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:04 brd ff:ff:ff:ff:ff:ff
inet 10.0.200.11/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:204/64 scope link
valid_lft forever preferred_lft forever
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.200.11/24']
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:04 brd ff:ff:ff:ff:ff:ff
inet 10.0.200.11/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:204/64 scope link
valid_lft forever preferred_lft forever
22:50:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw
node name: H-4
22:50:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.0.200.1 dev Eth1'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.0.200.1 dev Eth1']]
sub scenario not expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario retries: 5
sub scenario delay: 1
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.0.200.1 dev Eth1'}
expect values: []
not expect values: []
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.0.200.1 dev Eth1']
not expect values: ['default via 10.250.0.1 dev mgmt proto static']
22:50:04 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.0.200.1 dev Eth1
10.0.200.0/24 dev Eth1 proto kernel scope link src 10.0.200.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.104
22:50:04 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.0.200.1 dev Eth1']
22:50:04 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.0.200.1 dev Eth1
10.0.200.0/24 dev Eth1 proto kernel scope link src 10.0.200.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.104
22:50:04 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Test Network-link
22:50:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Ping from H-1 to H-2
node name: H-1
22:50:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 4 10.0.100.11'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.100.11', '4 packets transmitted, 4 received, 0% packet loss']]
sub scenario not expect values: [['From 10.0.100.10']]
sub scenario retries: 5
sub scenario delay: 1
22:50:04 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ping -c 4 10.0.100.11'}
expect values: ['64 bytes from 10.0.100.11', '4 packets transmitted, 4 received, 0% packet loss']
not expect values: ['From 10.0.100.10']
22:50:07 test_sonic.run_scenario L0316 INFO |
execute command result:
PING 10.0.100.11 (10.0.100.11) 56(84) bytes of data.
64 bytes from 10.0.100.11: icmp_seq=1 ttl=64 time=5.70 ms
64 bytes from 10.0.100.11: icmp_seq=2 ttl=64 time=1.94 ms
64 bytes from 10.0.100.11: icmp_seq=3 ttl=64 time=2.89 ms
64 bytes from 10.0.100.11: icmp_seq=4 ttl=64 time=2.33 ms
--- 10.0.100.11 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.937/3.213/5.696/1.473 ms
22:50:07 test_sonic.run_scenario L0317 INFO |
expect value in result:
['64 bytes from 10.0.100.11', '4 packets transmitted, 4 received, 0% packet loss']
22:50:07 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
PING 10.0.100.11 (10.0.100.11) 56(84) bytes of data.
64 bytes from 10.0.100.11: icmp_seq=1 ttl=64 time=5.70 ms
64 bytes from 10.0.100.11: icmp_seq=2 ttl=64 time=1.94 ms
64 bytes from 10.0.100.11: icmp_seq=3 ttl=64 time=2.89 ms
64 bytes from 10.0.100.11: icmp_seq=4 ttl=64 time=2.33 ms
--- 10.0.100.11 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.937/3.213/5.696/1.473 ms
22:50:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Ping from H-1 to H-3
node name: H-1
22:50:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 4 -I Eth1 10.0.200.10'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']]
sub scenario not expect values: [['From 10.0.100.10']]
sub scenario retries: 5
sub scenario delay: 1
22:50:07 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ping -c 4 -I Eth1 10.0.200.10'}
expect values: ['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']
not expect values: ['From 10.0.100.10']
22:50:10 test_sonic.run_scenario L0316 INFO |
execute command result:
PING 10.0.200.10 (10.0.200.10) from 10.0.100.10 Eth1: 56(84) bytes of data.
64 bytes from 10.0.200.10: icmp_seq=1 ttl=63 time=4.05 ms
64 bytes from 10.0.200.10: icmp_seq=2 ttl=63 time=1.15 ms
64 bytes from 10.0.200.10: icmp_seq=3 ttl=63 time=1.04 ms
64 bytes from 10.0.200.10: icmp_seq=4 ttl=63 time=1.13 ms
--- 10.0.200.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.041/1.844/4.052/1.275 ms
22:50:10 test_sonic.run_scenario L0317 INFO |
expect value in result:
['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']
22:50:10 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
PING 10.0.200.10 (10.0.200.10) from 10.0.100.10 Eth1: 56(84) bytes of data.
64 bytes from 10.0.200.10: icmp_seq=1 ttl=63 time=4.05 ms
64 bytes from 10.0.200.10: icmp_seq=2 ttl=63 time=1.15 ms
64 bytes from 10.0.200.10: icmp_seq=3 ttl=63 time=1.04 ms
64 bytes from 10.0.200.10: icmp_seq=4 ttl=63 time=1.13 ms
--- 10.0.200.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.041/1.844/4.052/1.275 ms
22:50:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Ping from H-2 to H-4
node name: H-2
22:50:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 4 10.0.200.11'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.200.11', '4 packets transmitted, 4 received, 0% packet loss']]
sub scenario not expect values: [['From 10.0.100.11']]
sub scenario retries: 5
sub scenario delay: 1
22:50:10 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ping -c 4 10.0.200.11'}
expect values: ['64 bytes from 10.0.200.11', '4 packets transmitted, 4 received, 0% packet loss']
not expect values: ['From 10.0.100.11']
22:50:13 test_sonic.run_scenario L0316 INFO |
execute command result:
PING 10.0.200.11 (10.0.200.11) 56(84) bytes of data.
64 bytes from 10.0.200.11: icmp_seq=1 ttl=63 time=2.26 ms
64 bytes from 10.0.200.11: icmp_seq=2 ttl=63 time=1.45 ms
64 bytes from 10.0.200.11: icmp_seq=3 ttl=63 time=1.01 ms
64 bytes from 10.0.200.11: icmp_seq=4 ttl=63 time=1.43 ms
--- 10.0.200.11 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.005/1.534/2.259/0.453 ms
22:50:13 test_sonic.run_scenario L0317 INFO |
expect value in result:
['64 bytes from 10.0.200.11', '4 packets transmitted, 4 received, 0% packet loss']
22:50:13 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
PING 10.0.200.11 (10.0.200.11) 56(84) bytes of data.
64 bytes from 10.0.200.11: icmp_seq=1 ttl=63 time=2.26 ms
64 bytes from 10.0.200.11: icmp_seq=2 ttl=63 time=1.45 ms
64 bytes from 10.0.200.11: icmp_seq=3 ttl=63 time=1.01 ms
64 bytes from 10.0.200.11: icmp_seq=4 ttl=63 time=1.43 ms
--- 10.0.200.11 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 1.005/1.534/2.259/0.453 ms
22:50:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Ping from H-2 to H-3
node name: H-2
22:50:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping -c 4 -I Eth1 10.0.200.10'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']]
sub scenario not expect values: [['From 10.0.100.11']]
sub scenario retries: 5
sub scenario delay: 1
22:50:13 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ping -c 4 -I Eth1 10.0.200.10'}
expect values: ['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']
not expect values: ['From 10.0.100.11']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
PING 10.0.200.10 (10.0.200.10) from 10.0.100.11 Eth1: 56(84) bytes of data.
64 bytes from 10.0.200.10: icmp_seq=1 ttl=63 time=4.23 ms
64 bytes from 10.0.200.10: icmp_seq=2 ttl=63 time=2.76 ms
64 bytes from 10.0.200.10: icmp_seq=3 ttl=63 time=2.65 ms
64 bytes from 10.0.200.10: icmp_seq=4 ttl=63 time=2.51 ms
--- 10.0.200.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 2.514/3.039/4.228/0.691 ms
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['64 bytes from 10.0.200.10', '4 packets transmitted, 4 received, 0% packet loss']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
PING 10.0.200.10 (10.0.200.10) from 10.0.100.11 Eth1: 56(84) bytes of data.
64 bytes from 10.0.200.10: icmp_seq=1 ttl=63 time=4.23 ms
64 bytes from 10.0.200.10: icmp_seq=2 ttl=63 time=2.76 ms
64 bytes from 10.0.200.10: icmp_seq=3 ttl=63 time=2.65 ms
64 bytes from 10.0.200.10: icmp_seq=4 ttl=63 time=2.51 ms
--- 10.0.200.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 2.514/3.039/4.228/0.691 ms
22:50:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Default Route to Host
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw from 10.0.100.1 to 10.250.0.1
node name: H-1
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario not expect values: [[], [], ['default via 10.0.100.1 dev Eth1']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.250.0.1 dev mgmt proto static']
not expect values: ['default via 10.0.100.1 dev Eth1']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.101
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.250.0.1 dev mgmt proto static']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.10
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.101
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw from 10.0.100.1 to 10.250.0.1
node name: H-2
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario not expect values: [[], [], ['default via 10.0.100.1 dev Eth1']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.250.0.1 dev mgmt proto static']
not expect values: ['default via 10.0.100.1 dev Eth1']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.102
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.250.0.1 dev mgmt proto static']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.11
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.102
40.0.100.0/24 via 10.0.100.1 dev Eth1 proto static
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete & Assignment IPv4
node name: H-3
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip address del 10.0.200.10/24 dev Eth1'}, {'command': 'sudo ip address add 10.0.100.12/24 dev Eth1'}, {'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['inet 10.0.100.12/24']]
sub scenario not expect values: [[], [], ['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address del 10.0.200.10/24 dev Eth1'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address add 10.0.100.12/24 dev Eth1'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.100.12/24']
not expect values: ['DOWN']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.12/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:203/64 scope link
valid_lft forever preferred_lft forever
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.100.12/24']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:03 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.12/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:203/64 scope link
valid_lft forever preferred_lft forever
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw from 10.0.200.1 to 10.250.0.1
node name: H-3
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario not expect values: [[], [], ['default via 10.0.200.1 dev Eth1']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.250.0.1 dev mgmt proto static']
not expect values: ['default via 10.0.200.1 dev Eth1']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.12
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.103
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.250.0.1 dev mgmt proto static']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.12
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.103
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete & Assignment IPv4
node name: H-4
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip address del 10.0.200.11/24 dev Eth1'}, {'command': 'sudo ip address add 10.0.100.13/24 dev Eth1'}, {'command': 'ip address show Eth1'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['inet 10.0.100.13/24']]
sub scenario not expect values: [[], [], ['DOWN']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address del 10.0.200.11/24 dev Eth1'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip address add 10.0.100.13/24 dev Eth1'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip address show Eth1'}
expect values: ['inet 10.0.100.13/24']
not expect values: ['DOWN']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:04 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.13/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:204/64 scope link
valid_lft forever preferred_lft forever
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['inet 10.0.100.13/24']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
3: Eth1: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:10:02:04 brd ff:ff:ff:ff:ff:ff
inet 10.0.100.13/24 scope global Eth1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe10:204/64 scope link
valid_lft forever preferred_lft forever
22:50:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Change default gw from 10.0.100.1 to 10.250.0.1
node name: H-4
22:50:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo ip route del default'}, {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}, {'command': 'ip route show'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], ['default via 10.250.0.1 dev mgmt proto static']]
sub scenario not expect values: [[], [], ['default via 10.0.200.1 dev Eth1']]
sub scenario retries: 5
sub scenario delay: 1
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route del default'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'sudo ip route add default via 10.250.0.1 dev mgmt proto static'}
expect values: []
not expect values: []
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
[]
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
22:50:16 test_sonic.run_scenario L0300 INFO |
step 1-3) act command: {'command': 'ip route show'}
expect values: ['default via 10.250.0.1 dev mgmt proto static']
not expect values: ['default via 10.0.200.1 dev Eth1']
22:50:16 test_sonic.run_scenario L0316 INFO |
execute command result:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.13
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.104
22:50:16 test_sonic.run_scenario L0317 INFO |
expect value in result:
['default via 10.250.0.1 dev mgmt proto static']
22:50:16 test_sonic.run_scenario L0333 INFO | The expected value is included in the printed result.
output:
default via 10.250.0.1 dev mgmt proto static
10.0.100.0/24 dev Eth1 proto kernel scope link src 10.0.100.13
10.250.0.0/24 dev mgmt proto kernel scope link src 10.250.0.104
PASSEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
22:50:16 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
22:50:20 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:50:21 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:50:21 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:04.370673 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh22:50:21 config_reload.config_reload L0144 INFO | reloading config_db
22:51:50 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:51:50 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:51:55 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:51:55 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
22:52:15 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:52:19 config_reload.config_reload L0144 INFO | reloading config_db
22:53:43 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
22:53:43 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
22:53:47 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
22:53:47 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
22:54:07 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config22:54:21 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario22:54:21 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on SW-1
22:54:22 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on SW-1
22:54:22 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on SW-1
22:54:23 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on SW-2
22:54:23 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on SW-2
22:54:24 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on SW-2
22:54:24 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
22:54:24 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
INFO:root:Can not get Allure report URL. Please check logs
======================== 1 passed in 480.37s (0:08:00) =========================
✅ Scenario succeeded on attempt 1: test_sonic/integration_scen/scenario_inter_vlan.yaml
Test finished for test_sonic/integration_scen/scenario_inter_vlan.yaml.
Processing test logs. . .
[INFO] Running python script...
[['22:47:14'], ['22:47:14', '22:47:14', '22:47:14', '22:47:14', '22:47:14', '22:47:14'], ['22:47:14', '22:47:20'], ['22:47:25', '22:47:31', '22:47:37', '22:47:42', '22:47:48', '22:47:54', '22:47:59', '22:48:05', '22:48:10', '22:48:16'], ['22:48:22', '22:48:27', '22:48:33', '22:48:39', '22:48:44', '22:48:50', '22:48:55', '22:49:01', '22:49:07', '22:49:12', '22:49:18', '22:49:23', '22:49:29', '22:49:35', '22:49:40', '22:49:46', '22:49:52', '22:49:57'], ['22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:03', '22:50:04', '22:50:04', '22:50:04', '22:50:04', '22:50:04', '22:50:04', '22:50:04', '22:50:04', '22:50:04'], ['22:50:04', '22:50:07', '22:50:10', '22:50:13'], ['22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16', '22:50:16']]
scenario_inter_vlan
val:print topo img
val:session check SW-1
val:session check SW-2
val:session check H-1
val:session check H-2
val:session check H-3
val:session check H-4
val:Check SONiC OS Version
val:Check SONiC OS Version
val:Check VLAN exist on SW-1
val:Check VLAN exist on SW-2
val:Create VLAN 10 on SW-1
val:Create VLAN 10 on SW-1
val:Create VLAN 10 on SW-2
val:Create VLAN 10 on SW-2
val:Create VLAN 20 on SW-1
val:Create VLAN 20 on SW-1
val:Create VLAN 20 on SW-2
val:Create VLAN 20 on SW-2
val:Switch port mode
val:Switch port mode
val:Add VLAN 10 & VLAN 20 member on SW-1
val:Add VLAN 10 & VLAN 20 member on SW-1
val:Add VLAN 10 & VLAN 20 member on SW-1
val:Add VLAN 10 & VLAN 20 member on SW-1
val:Add VLAN 10 & VLAN 20 member on SW-1
val:Add VLAN 10 IP Address
val:Add VLAN 10 IP Address
val:Switch port mode
val:Switch port mode
val:Add VLAN 10 & VLAN 20 member on SW-2
val:Add VLAN 10 & VLAN 20 member on SW-2
val:Add VLAN 10 & VLAN 20 member on SW-2
val:Add VLAN 10 & VLAN 20 member on SW-2
val:Add VLAN 10 & VLAN 20 member on SW-2
val:Add VLAN 10 IP Address
val:Add VLAN 10 IP Address
val:Check Eth1 IPv4 Address on H-1
val:Change default gw
val:Change default gw
val:Change default gw
val:Check Eth1 IPv4 Address on H-2
val:Change default gw
val:Change default gw
val:Change default gw
val:Check Eth1 IPv4 Address on H-3
val:Check Eth1 IPv4 Address on H-3
val:Check Eth1 IPv4 Address on H-3
val:Change default gw
val:Change default gw
val:Change default gw
val:Check Eth1 IPv4 Address on H-4
val:Check Eth1 IPv4 Address on H-4
val:Check Eth1 IPv4 Address on H-4
val:Change default gw
val:Change default gw
val:Change default gw
val:Ping from H-1 to H-2
val:Ping from H-1 to H-3
val:Ping from H-2 to H-4
val:Ping from H-2 to H-3
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Delete & Assignment IPv4
val:Delete & Assignment IPv4
val:Delete & Assignment IPv4
val:Change default gw from 10.0.200.1 to 10.250.0.1
val:Change default gw from 10.0.200.1 to 10.250.0.1
val:Change default gw from 10.0.200.1 to 10.250.0.1
val:Delete & Assignment IPv4
val:Delete & Assignment IPv4
val:Delete & Assignment IPv4
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
val:Change default gw from 10.0.100.1 to 10.250.0.1
Saved HTML : converter_report/scenario_dir/scenario_inter_vlan.html
✅ Complete convert test report. . .
Waiting 20s before the next scenario...
===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_ip_address_assignment.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: R-1,R-2,R-3,R-4,R-5,R-6
H/TG Devices: None
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4,R-5,R-6 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_ip_address_assignment.yaml
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4,R-5,R-6 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_ip_address_assignment.yaml --showlocals --assert plain --show-capture no -rav --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
22:54:46 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
22:54:48 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
22:54:49 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
22:54:49 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
22:54:50 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
22:54:51 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
22:54:51 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
collected 1 item
test_sonic/test_sonic.py::test_scenario
-------------------------------- live log setup --------------------------------
22:54:51 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
22:54:51 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
22:54:51 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:52 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
22:54:52 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
22:54:52 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo22:54:52 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc22:54:52 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:54 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:54 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
22:54:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
22:54:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
22:54:54 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
22:54:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
22:54:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:56 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
22:54:56 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:54:56 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
22:54:57 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:00 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:00 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
22:55:00 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
22:55:00 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
22:55:00 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
22:55:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
22:55:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:02 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
22:55:02 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:02 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
22:55:03 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:06 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:06 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
22:55:06 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
22:55:07 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
22:55:07 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:07 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
22:55:07 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:08 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
22:55:08 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:08 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
22:55:08 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:09 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
22:55:09 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:11 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:11 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
22:55:11 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
22:55:12 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
22:55:12 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:13 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
22:55:13 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:13 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
22:55:13 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:14 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
22:55:14 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:14 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
22:55:15 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:17 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-5
22:55:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle
22:55:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle
22:55:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:18 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.os_version" to /data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle
22:55:18 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.feature_status" to /data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle
22:55:19 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle
22:55:19 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:19 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle
22:55:20 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:22 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:22 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-6
22:55:22 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-6/host_visible_vars.pickle
22:55:23 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-6/basic_facts.pickle
22:55:23 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:23 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.os_version" to /data/NetAutoTestFW/tests/_cache/R-6/os_version.pickle
22:55:23 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:24 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.feature_status" to /data/NetAutoTestFW/tests/_cache/R-6/feature_status.pickle
22:55:24 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:24 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-6/sonic_release.pickle
22:55:24 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-6/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
22:55:25 facts_cache.write L0121 INFO | [Cache] Cached facts "R-6.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-6/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.55
port : 22
22:55:27 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.56
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context22:55:27 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)22:55:27 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
22:55:28 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
22:55:28 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
22:55:29 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
22:55:30 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
22:55:30 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
22:55:31 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
22:55:31 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
22:55:32 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
22:55:32 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
22:55:33 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
22:55:33 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
22:55:34 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-5
22:55:34 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-5
22:55:35 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-5
22:55:35 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-6
22:55:36 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-6
22:55:36 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-6
22:55:36 conftest.core_dump_and_config_check L0597 INFO | Collecting running golden config before test on R-6
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)22:55:37 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_ip_address_assignment.yaml
22:55:37 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_ip_address_assignment.yaml
22:55:37 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_ip_address_assignment.yaml
22:55:37 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario22:55:37 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)22:55:47 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
22:55:48 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
22:55:48 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
22:55:48 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:48 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:48 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:48 transport._log L1873 INFO | Authentication (password) successful!
22:55:48 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:00 2026 from 10.250.0.1
admin@R-1:~$
22:55:49 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
22:55:50 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
22:55:50 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
22:55:50 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:50 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:50 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:50 transport._log L1873 INFO | Authentication (password) successful!
22:55:50 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:02 2026 from 10.250.0.1
admin@R-2:~$
22:55:52 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
22:55:52 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
22:55:52 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
22:55:52 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:52 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:52 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:52 transport._log L1873 INFO | Authentication (password) successful!
22:55:52 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:03 2026 from 10.250.0.1
admin@R-3:~$
22:55:54 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
22:55:54 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
22:55:54 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
22:55:54 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:54 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:54 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:54 transport._log L1873 INFO | Authentication (password) successful!
22:55:54 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:05 2026 from 10.250.0.1
admin@R-4:~$
22:55:56 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
22:55:56 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.55/24': {'gwaddr': '10.250.0.1'}}
22:55:56 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-5
username:admin
password:password
22:55:56 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:56 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:56 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:56 transport._log L1873 INFO | Authentication (password) successful!
22:55:57 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:52 2026 from 10.250.0.1
admin@R-5:~$
22:55:58 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-5
22:55:58 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.56/24': {'gwaddr': '10.250.0.1'}}
22:55:58 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-6
username:admin
password:password
22:55:58 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
22:55:59 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
22:55:59 transport._log L1873 INFO | Authentication (publickey) failed.
22:55:59 transport._log L1873 INFO | Authentication (password) successful!
22:55:59 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-6 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:47 2026
admin@R-6:~$
22:56:00 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-6
22:56:00 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)22:56:00 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
22:56:00 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)22:56:01 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
22:56:01 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
22:56:02 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
22:56:02 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-5
22:56:02 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
22:56:02 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-6
22:56:03 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
22:56:04 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.931542 seconds
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-1
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-1
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-2
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-2
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-3
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-3
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-4
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-4
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-5
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-5
22:56:04 __init__.analyzer_add_marker L0035 INFO | add marker called on R-6
22:56:04 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-6
22:56:07 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
22:56:08 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:03.943556 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
22:56:08 test_sonic.run_scenario L0098 INFO | test device hostname: , , , , , ]>
22:56:08 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
22:56:08 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
22:56:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
22:56:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-1
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-1
node name:
R-1
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:00 2026 from 10.250.0.1
admin@R-1:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-2
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-2
node name:
R-2
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:02 2026 from 10.250.0.1
admin@R-2:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-3
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-3
node name:
R-3
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:03 2026 from 10.250.0.1
admin@R-3:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-4
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-4
node name:
R-4
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 20:12:05 2026 from 10.250.0.1
admin@R-4:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-5
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-5
node name:
R-5
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:16:52 2026 from 10.250.0.1
admin@R-5:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0130 INFO | nodes: R-6
22:56:08 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-6
node name:
R-6
22:56:08 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-6 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 19:02:47 2026
admin@R-6:~$
22:56:08 test_sonic.run_scenario L0144 INFO | step 3)
pass
22:56:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-1
22:56:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-1
22:56:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:56:14 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:08 up 3:55, 1 user, load average: 0.29, 0.37, 0.58
Date: Mon 26 Oct 2026 22:56:08
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:56:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:56:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:08 up 3:55, 1 user, load average: 0.29, 0.37, 0.58
Date: Mon 26 Oct 2026 22:56:08
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:56:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-1
22:56:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 20.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 20.1.1.2/24'}
expect values: []
not expect values: ['Error:']
22:56:19 test_sonic.run_scenario L0244 INFO |
execute command result:
22:56:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:56:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:56:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-1
22:56:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 21.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 21.1.1.2/24'}
expect values: []
not expect values: ['Error:']
22:56:25 test_sonic.run_scenario L0244 INFO |
execute command result:
22:56:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:56:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:56:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet8
node name: R-1
22:56:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet8 30.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 30.1.1.2/24'}
expect values: []
not expect values: ['Error:']
22:56:31 test_sonic.run_scenario L0244 INFO |
execute command result:
22:56:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:56:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:56:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-1
22:56:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 20.1.1.2/24 up/up N/A N/A', 'Ethernet4 21.1.1.2/24 up/up N/A N/A', 'Ethernet8 30.1.1.2/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 20.1.1.2/24 up/up N/A N/A', 'Ethernet4 21.1.1.2/24 up/up N/A N/A', 'Ethernet8 30.1.1.2/24 up/up N/A N/A']
not expect values: ['Error:']
22:56:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 20.1.1.2/24 up/up N/A N/A
Ethernet4 21.1.1.2/24 up/up N/A N/A
Ethernet8 30.1.1.2/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.51/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:56:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 20.1.1.2/24 up/up N/A N/A', 'Ethernet4 21.1.1.2/24 up/up N/A N/A', 'Ethernet8 30.1.1.2/24 up/up N/A N/A']
22:56:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 20.1.1.2/24 up/up N/A N/A
Ethernet4 21.1.1.2/24 up/up N/A N/A
Ethernet8 30.1.1.2/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.51/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:56:37 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-2
22:56:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-2
22:56:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:56:43 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:37 up 3:55, 1 user, load average: 0.24, 0.31, 0.45
Date: Mon 26 Oct 2026 22:56:37
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:56:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:56:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:37 up 3:55, 1 user, load average: 0.24, 0.31, 0.45
Date: Mon 26 Oct 2026 22:56:37
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:56:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-2
22:56:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}
expect values: []
not expect values: ['Error:']
22:56:48 test_sonic.run_scenario L0244 INFO |
execute command result:
22:56:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:56:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:56:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-2
22:56:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}
expect values: []
not expect values: ['Error:']
22:56:54 test_sonic.run_scenario L0244 INFO |
execute command result:
22:56:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:56:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:56:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-2
22:56:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 22.1.1.4/24 up/up N/A N/A', 'Ethernet4 30.1.1.4/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:56:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 22.1.1.4/24 up/up N/A N/A', 'Ethernet4 30.1.1.4/24 up/up N/A N/A']
not expect values: ['Error:']
22:57:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 22.1.1.4/24 up/up N/A N/A
Ethernet4 30.1.1.4/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.52/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 22.1.1.4/24 up/up N/A N/A', 'Ethernet4 30.1.1.4/24 up/up N/A N/A']
22:57:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 22.1.1.4/24 up/up N/A N/A
Ethernet4 30.1.1.4/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.52/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:00 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-3
22:57:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-3
22:57:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:57:06 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:59 up 4:01, 1 user, load average: 0.18, 0.51, 0.76
Date: Mon 26 Oct 2026 22:56:59
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:57:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:57:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:56:59 up 4:01, 1 user, load average: 0.18, 0.51, 0.76
Date: Mon 26 Oct 2026 22:56:59
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:57:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-3
22:57:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}
expect values: []
not expect values: ['Error:']
22:57:12 test_sonic.run_scenario L0244 INFO |
execute command result:
22:57:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:57:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:57:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-3
22:57:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}
expect values: []
not expect values: ['Error:']
22:57:17 test_sonic.run_scenario L0244 INFO |
execute command result:
22:57:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:57:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:57:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-3
22:57:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 20.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.1/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 20.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.1/24 up/up N/A N/A']
not expect values: ['Error:']
22:57:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 20.1.1.3/24 up/up N/A N/A
Ethernet4 10.0.100.1/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.53/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 20.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.1/24 up/up N/A N/A']
22:57:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 20.1.1.3/24 up/up N/A N/A
Ethernet4 10.0.100.1/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.53/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:24 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-4
22:57:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-4
22:57:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:57:29 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:57:23 up 4:01, 1 user, load average: 0.19, 0.55, 0.84
Date: Mon 26 Oct 2026 22:57:23
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:57:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:57:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:57:23 up 4:01, 1 user, load average: 0.19, 0.55, 0.84
Date: Mon 26 Oct 2026 22:57:23
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:57:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-4
22:57:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}
expect values: []
not expect values: ['Error:']
22:57:35 test_sonic.run_scenario L0244 INFO |
execute command result:
22:57:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:57:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:57:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-4
22:57:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}
expect values: []
not expect values: ['Error:']
22:57:41 test_sonic.run_scenario L0244 INFO |
execute command result:
22:57:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:57:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:57:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-4
22:57:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 22.1.1.11/24 up/up N/A N/A', 'Ethernet4 50.1.1.2/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 22.1.1.11/24 up/up N/A N/A', 'Ethernet4 50.1.1.2/24 up/up N/A N/A']
not expect values: ['Error:']
22:57:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 22.1.1.11/24 up/up N/A N/A
Ethernet4 50.1.1.2/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.54/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 22.1.1.11/24 up/up N/A N/A', 'Ethernet4 50.1.1.2/24 up/up N/A N/A']
22:57:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 22.1.1.11/24 up/up N/A N/A
Ethernet4 50.1.1.2/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.54/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:57:47 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-5
22:57:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-5
22:57:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:57:53 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:57:47 up 4:05, 1 user, load average: 0.23, 0.42, 0.42
Date: Mon 26 Oct 2026 22:57:47
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:57:53 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:57:53 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:57:47 up 4:05, 1 user, load average: 0.23, 0.42, 0.42
Date: Mon 26 Oct 2026 22:57:47
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
22:57:53 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-5
22:57:53 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 40.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:53 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 40.0.100.1/24'}
expect values: []
not expect values: ['Error:']
22:57:58 test_sonic.run_scenario L0244 INFO |
execute command result:
22:57:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:57:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:57:58 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-5
22:57:58 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 50.1.1.3/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:57:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 50.1.1.3/24'}
expect values: []
not expect values: ['Error:']
22:58:04 test_sonic.run_scenario L0244 INFO |
execute command result:
22:58:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:58:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:58:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-5
22:58:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 40.0.100.1/24 up/up N/A N/A', 'Ethernet4 50.1.1.3/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:58:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 40.0.100.1/24 up/up N/A N/A', 'Ethernet4 50.1.1.3/24 up/up N/A N/A']
not expect values: ['Error:']
22:58:10 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 40.0.100.1/24 up/up N/A N/A
Ethernet4 50.1.1.3/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.55/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:58:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 40.0.100.1/24 up/up N/A N/A', 'Ethernet4 50.1.1.3/24 up/up N/A N/A']
22:58:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 40.0.100.1/24 up/up N/A N/A
Ethernet4 50.1.1.3/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.55/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:58:10 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address R-6
22:58:10 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check SONiC OS Version
node name: R-6
22:58:10 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show version'}]
sub scenario expect mode: or
sub scenario expect values: [['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:58:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show version'}
expect values: ['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
not expect values: ['Error:']
22:58:16 test_sonic.run_scenario L0244 INFO |
execute command result:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:58:09 up 4:06, 1 user, load average: 0.27, 0.42, 0.47
Date: Mon 26 Oct 2026 22:58:09
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:58:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['SONiC OS Version: 12', 'SONiC Software Version: SONiC.master.775830-a7eb965c8']
22:58:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
SONiC Software Version: SONiC.etri-202505.28-2c43c63b1
SONiC OS Version: 12
Distribution: Debian 12.15
Kernel: 6.1.0-29-2-amd64
Build commit: 2c43c63b1
Build date: Mon Oct 26 08:10:11 UTC 2026
Built by: jenkins@w2sh
Platform: x86_64-kvm_x86_64-r0
HwSKU: Etri-SONiC
ASIC: vs
ASIC Count: 1
Serial Number: N/A
Model Number: N/A
Hardware Revision: N/A
Uptime: 22:58:09 up 4:06, 1 user, load average: 0.27, 0.42, 0.47
Date: Mon 26 Oct 2026 22:58:09
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-macsec etri-202505.28-2c43c63b1 dcd9718a12a0 371MB
docker-macsec latest dcd9718a12a0 371MB
docker-teamd etri-202505.28-2c43c63b1 b1a69201264d 368MB
docker-teamd latest b1a69201264d 368MB
docker-orchagent etri-202505.28-2c43c63b1 77037ce9cefb 380MB
docker-orchagent latest 77037ce9cefb 380MB
docker-sflow etri-202505.28-2c43c63b1 8cfe4e6f797c 369MB
docker-sflow latest 8cfe4e6f797c 369MB
docker-fpm-frr etri-202505.28-2c43c63b1 e31a35138807 418MB
docker-fpm-frr latest e31a35138807 418MB
docker-nat etri-202505.28-2c43c63b1 502fbf467617 371MB
docker-nat latest 502fbf467617 371MB
docker-dash-ha etri-202505.28-2c43c63b1 2b92654c2556 381MB
docker-dash-ha latest 2b92654c2556 381MB
docker-stp etri-202505.28-2c43c63b1 962d6a4b9ef4 368MB
docker-stp latest 962d6a4b9ef4 368MB
docker-gbsyncd-vs etri-202505.28-2c43c63b1 8d44a84e06f4 2.2GB
docker-gbsyncd-vs latest 8d44a84e06f4 2.2GB
docker-syncd-vs etri-202505.28-2c43c63b1 86d4180f1418 2.2GB
docker-syncd-vs latest 86d4180f1418 2.2GB
docker-sonic-telemetry etri-202505.28-2c43c63b1 1758c4a94e02 477MB
docker-sonic-telemetry latest 1758c4a94e02 477MB
docker-sonic-bmp etri-202505.28-2c43c63b1 9514475984fe 339MB
docker-sonic-bmp latest 9514475984fe 339MB
docker-dhcp-relay etri-202505.28-2c43c63b1 540803c6bbf4 347MB
docker-dhcp-relay latest 540803c6bbf4 347MB
docker-platform-monitor etri-202505.28-2c43c63b1 00a0b4819dbf 472MB
docker-platform-monitor latest 00a0b4819dbf 472MB
docker-snmp etri-202505.28-2c43c63b1 350d829131c1 382MB
docker-snmp latest 350d829131c1 382MB
docker-router-advertiser etri-202505.28-2c43c63b1 b7e9c442addd 338MB
docker-router-advertiser latest b7e9c442addd 338MB
docker-ptp etri-202505.28-2c43c63b1 4ade187e7640 340MB
docker-ptp latest 4ade187e7640 340MB
docker-gnmi-watchdog etri-202505.28-2c43c63b1 9bd3696673aa 338MB
docker-gnmi-watchdog latest 9bd3696673aa 338MB
docker-mux etri-202505.28-2c43c63b1 748efc4235bc 390MB
docker-mux latest 748efc4235bc 390MB
docker-lldp etri-202505.28-2c43c63b1 1a93495f190b 384MB
docker-lldp latest 1a93495f190b 384MB
docker-sonic-gnmi etri-202505.28-2c43c63b1 fe19ae748f0e 452MB
docker-sonic-gnmi latest fe19ae748f0e 452MB
docker-eventd etri-202505.28-2c43c63b1 8520fa084181 338MB
docker-eventd latest 8520fa084181 338MB
docker-bmp-watchdog etri-202505.28-2c43c63b1 b32d415413e7 338MB
docker-bmp-watchdog latest b32d415413e7 338MB
docker-database etri-202505.28-2c43c63b1 69da3b66f8b5 345MB
docker-database latest 69da3b66f8b5 345MB
docker-auditd-watchdog etri-202505.28-2c43c63b1 400ac328e7f6 338MB
docker-auditd-watchdog latest 400ac328e7f6 338MB
docker-dash-engine etri-202505.28-2c43c63b1 3ab69198e5ac 697MB
docker-dash-engine latest 3ab69198e5ac 697MB
docker-auditd etri-202505.28-2c43c63b1 e670ed9435e2 338MB
docker-auditd latest e670ed9435e2 338MB
docker-sonic-mgmt-framework etri-202505.28-2c43c63b1 d685b4e19d2d 430MB
docker-sonic-mgmt-framework latest d685b4e19d2d 430MB
docker-twamp etri-202505.28-2c43c63b1 68a21eca7284 358MB
docker-twamp latest 68a21eca7284 358MB
docker-sysmgr etri-202505.28-2c43c63b1 d8d18fe663e9 350MB
docker-sysmgr latest d8d18fe663e9 350MB
22:58:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet0
node name: R-6
22:58:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet0 21.1.1.3/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:58:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 21.1.1.3/24'}
expect values: []
not expect values: ['Error:']
22:58:22 test_sonic.run_scenario L0244 INFO |
execute command result:
22:58:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:58:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:58:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Router Device assign IP Address on Ethernet4
node name: R-6
22:58:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'sudo config interface ip add Ethernet4 10.0.100.3/24'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:58:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.0.100.3/24'}
expect values: []
not expect values: ['Error:']
22:58:27 test_sonic.run_scenario L0244 INFO |
execute command result:
22:58:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
22:58:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
22:58:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check assignment IP address
node name: R-6
22:58:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip interfaces'}]
sub scenario expect mode: and
sub scenario expect values: [['Ethernet0 21.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.3/24 up/up N/A N/A']]
sub scenario not expect values: [['Error:']]
sub scenario retries: 5
sub scenario delay: 1
22:58:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip interfaces'}
expect values: ['Ethernet0 21.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.3/24 up/up N/A N/A']
not expect values: ['Error:']
22:58:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 21.1.1.3/24 up/up N/A N/A
Ethernet4 10.0.100.3/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.56/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
22:58:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Ethernet0 21.1.1.3/24 up/up N/A N/A', 'Ethernet4 10.0.100.3/24 up/up N/A N/A']
22:58:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Interface Master IPv4 address/mask Admin/Oper BGP Neighbor Neighbor IP
----------- -------- ------------------- ------------ -------------- -------------
Ethernet0 21.1.1.3/24 up/up N/A N/A
Ethernet4 10.0.100.3/24 up/up N/A N/A
docker0 240.127.1.1/24 up/down N/A N/A
eth0 10.250.0.56/24 up/up N/A N/A
lo 127.0.0.1/16 up/up N/A N/A
PASSEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
22:58:34 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
22:58:39 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:39 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:40 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:40 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:40 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:40 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
22:58:40 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:06.503323 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh22:58:40 config_reload.config_reload L0144 INFO | reloading config_db
23:00:02 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:00:02 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:00:06 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:00:06 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:00:26 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:00:30 config_reload.config_reload L0144 INFO | reloading config_db
23:01:54 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:01:54 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:01:58 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:01:58 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent', 'snmpd']'
23:02:18 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:02:22 config_reload.config_reload L0144 INFO | reloading config_db
23:03:44 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:03:44 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:03:49 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:03:49 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:04:09 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:04:13 config_reload.config_reload L0144 INFO | reloading config_db
23:05:35 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:05:35 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:05:40 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:05:40 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent', 'snmpd']'
23:06:00 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:06:04 config_reload.config_reload L0144 INFO | reloading config_db
23:07:26 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:07:26 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:07:31 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:07:31 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:07:51 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:07:55 config_reload.config_reload L0144 INFO | reloading config_db
23:09:18 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:09:18 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:09:22 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:09:22 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:09:42 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config23:09:56 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario23:09:56 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-1
23:09:57 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-1
23:09:58 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-1
23:09:58 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-2
23:09:59 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-2
23:09:59 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-2
23:10:00 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-3
23:10:01 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-3
23:10:01 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-3
23:10:01 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-4
23:10:02 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-4
23:10:03 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-4
23:10:03 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-5
23:10:04 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-5
23:10:04 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-5
23:10:05 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-6
23:10:05 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-6
23:10:06 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-6
23:10:06 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
INFO:root:Can not get Allure report URL. Please check logs
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
23:10:06 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
======================== 1 passed in 920.22s (0:15:20) =========================
✅ Scenario succeeded on attempt 1: test_sonic/integration_scen/scenario_ip_address_assignment.yaml
Test finished for test_sonic/integration_scen/scenario_ip_address_assignment.yaml.
Processing test logs. . .
[INFO] Running python script...
[['22:56:08'], ['22:56:08', '22:56:08', '22:56:08', '22:56:08', '22:56:08', '22:56:08'], ['22:56:08', '22:56:14', '22:56:19', '22:56:25', '22:56:31'], ['22:56:37', '22:56:43', '22:56:48', '22:56:54'], ['22:57:00', '22:57:06', '22:57:12', '22:57:17'], ['22:57:24', '22:57:29', '22:57:35', '22:57:41'], ['22:57:47', '22:57:53', '22:57:58', '22:58:04'], ['22:58:10', '22:58:16', '22:58:22', '22:58:27']]
scenario_ip_address_assignment
val:print topo img
val:session check R-1
val:session check R-2
val:session check R-3
val:session check R-4
val:session check R-5
val:session check R-6
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Router Device assign IP Address on Ethernet8
val:Check assignment IP address
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Check assignment IP address
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Check assignment IP address
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Check assignment IP address
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Check assignment IP address
val:Check SONiC OS Version
val:Router Device assign IP Address on Ethernet0
val:Router Device assign IP Address on Ethernet4
val:Check assignment IP address
Saved HTML : converter_report/scenario_dir/scenario_ip_address_assignment.html
✅ Complete convert test report. . .
Waiting 20s before the next scenario...
===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_isis.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: R-1,R-2,R-3,R-4,R-5
H/TG Devices: None
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4,R-5 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_isis.yaml
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4,R-5 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_isis.yaml --showlocals --assert plain --show-capture no -rav --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
23:10:28 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
23:10:29 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
23:10:30 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
23:10:30 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
23:10:31 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
23:10:32 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
23:10:33 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
23:10:33 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
23:10:33 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
23:10:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:33 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
23:10:33 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
23:10:33 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo23:10:33 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc23:10:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:36 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:36 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
23:10:36 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
23:10:36 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
23:10:36 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:37 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
23:10:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:37 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
23:10:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
23:10:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
23:10:39 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:41 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:41 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
23:10:41 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
23:10:42 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
23:10:42 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:42 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
23:10:42 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:43 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
23:10:43 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:43 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
23:10:43 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:43 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
23:10:44 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:46 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:46 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
23:10:46 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
23:10:47 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
23:10:47 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:47 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
23:10:47 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:48 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
23:10:48 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:48 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
23:10:48 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:49 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
23:10:50 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:52 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:52 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
23:10:52 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
23:10:52 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
23:10:52 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:53 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
23:10:53 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:53 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
23:10:53 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
23:10:54 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:54 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
23:10:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:57 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:57 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-5
23:10:57 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle
23:10:57 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle
23:10:57 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:58 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.os_version" to /data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle
23:10:58 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:58 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.feature_status" to /data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle
23:10:58 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle
23:10:59 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:10:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property23:11:01 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
23:11:01 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
23:11:01 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
23:11:01 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
23:11:01 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.55
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context23:11:01 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)23:11:01 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
23:11:02 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
23:11:02 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
23:11:03 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
23:11:04 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
23:11:04 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
23:11:04 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
23:11:05 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
23:11:05 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
23:11:06 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
23:11:07 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
23:11:07 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
23:11:07 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-5
23:11:08 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-5
23:11:08 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-5
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)23:11:09 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_isis.yaml
23:11:09 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_isis.yaml
23:11:09 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_isis.yaml
23:11:09 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario23:11:09 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)23:11:19 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
23:11:20 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
23:11:20 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
23:11:20 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:11:20 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:11:20 transport._log L1873 INFO | Authentication (publickey) failed.
23:11:20 transport._log L1873 INFO | Authentication (password) successful!
23:11:20 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:48 2026 from 10.250.0.1
admin@R-1:~$
23:11:21 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
23:11:22 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
23:11:22 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
23:11:22 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:11:22 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:11:22 transport._log L1873 INFO | Authentication (publickey) failed.
23:11:22 transport._log L1873 INFO | Authentication (password) successful!
23:11:22 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
23:11:22 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:50 2026 from 10.250.0.1
23:11:22 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:50 2026 from 10.250.0.1
admin@R-2:~$
23:11:23 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
23:11:24 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
23:11:24 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
23:11:24 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:11:24 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:11:24 transport._log L1873 INFO | Authentication (publickey) failed.
23:11:24 transport._log L1873 INFO | Authentication (password) successful!
23:11:24 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:50 2026 from 10.250.0.1
admin@R-3:~$
23:11:25 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
23:11:26 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
23:11:26 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
23:11:26 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:11:26 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:11:26 transport._log L1873 INFO | Authentication (publickey) failed.
23:11:26 transport._log L1873 INFO | Authentication (password) successful!
23:11:26 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:53 2026 from 10.250.0.1
admin@R-4:~$
23:11:28 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
23:11:28 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.55/24': {'gwaddr': '10.250.0.1'}}
23:11:28 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-5
username:admin
password:password
23:11:28 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:11:28 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:11:28 transport._log L1873 INFO | Authentication (publickey) failed.
23:11:28 transport._log L1873 INFO | Authentication (password) successful!
23:11:28 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
23:11:28 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:56 2026 from 10.250.0.1
23:11:28 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:56 2026 from 10.250.0.1
admin@R-5:~$
23:11:30 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-5
23:11:30 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)23:11:30 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
23:11:30 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)23:11:31 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
23:11:31 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
23:11:31 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
23:11:31 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-5
23:11:31 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
23:11:33 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:11:33 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:11:33 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:11:33 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:11:33 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:11:33 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.208273 seconds
23:11:33 __init__.analyzer_add_marker L0035 INFO | add marker called on R-1
23:11:33 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-1
23:11:33 __init__.analyzer_add_marker L0035 INFO | add marker called on R-2
23:11:33 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-2
23:11:33 __init__.analyzer_add_marker L0035 INFO | add marker called on R-3
23:11:33 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-3
23:11:33 __init__.analyzer_add_marker L0035 INFO | add marker called on R-4
23:11:33 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-4
23:11:33 __init__.analyzer_add_marker L0035 INFO | add marker called on R-5
23:11:33 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-5
23:11:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:11:36 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:11:36 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:11:36 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:11:36 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:11:36 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:02.891692 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
23:11:36 test_sonic.run_scenario L0098 INFO | test device hostname: , , , , ]>
23:11:36 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
23:11:36 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
23:11:36 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
23:11:36 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
23:11:36 test_sonic.run_scenario L0130 INFO | nodes: R-1
23:11:36 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-1
node name:
R-1
23:11:36 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:48 2026 from 10.250.0.1
admin@R-1:~$
23:11:36 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:11:36 test_sonic.run_scenario L0130 INFO | nodes: R-2
23:11:36 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-2
node name:
R-2
23:11:36 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:50 2026 from 10.250.0.1
admin@R-2:~$
23:11:36 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:11:36 test_sonic.run_scenario L0130 INFO | nodes: R-3
23:11:36 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-3
node name:
R-3
23:11:36 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:50 2026 from 10.250.0.1
admin@R-3:~$
23:11:36 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:11:36 test_sonic.run_scenario L0130 INFO | nodes: R-4
23:11:36 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-4
node name:
R-4
23:11:36 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:53 2026 from 10.250.0.1
admin@R-4:~$
23:11:36 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:11:36 test_sonic.run_scenario L0130 INFO | nodes: R-5
23:11:36 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-5
node name:
R-5
23:11:36 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 22:55:56 2026 from 10.250.0.1
admin@R-5:~$
23:11:36 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:11:36 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address
23:11:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-1
23:11:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 21.1.1.2/24'}, {'command': 'sudo config interface ip add Ethernet4 30.1.1.2/24'}, {'command': 'sudo config interface ip add Ethernet8 20.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], [], []]
sub scenario not expect values: [[], [], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:11:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:11:43 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:11:36 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:11:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:11:36 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:11:51 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:11:43 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:11:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:11:43 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:11:58 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:11:51 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:11:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:11:51 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:11:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 21.1.1.2/24'}
expect values: []
not expect values: []
23:12:04 test_sonic.run_scenario L0244 INFO |
execute command result:
23:12:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:12:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 30.1.1.2/24'}
expect values: []
not expect values: []
23:12:10 test_sonic.run_scenario L0244 INFO |
execute command result:
23:12:10 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:10 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:12:10 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 20.1.1.2/24'}
expect values: []
not expect values: []
23:12:15 test_sonic.run_scenario L0244 INFO |
execute command result:
23:12:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:12:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-2
23:12:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}, {'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:12:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:12:23 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:12:15 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:12:15 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:12:30 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:12:23 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:12:23 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:12:37 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:12:30 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:12:30 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:12:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}
expect values: []
not expect values: []
23:12:51 test_sonic.run_scenario L0244 INFO |
execute command result:
23:12:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:12:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}
expect values: []
not expect values: []
23:12:56 test_sonic.run_scenario L0244 INFO |
execute command result:
23:12:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:12:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:12:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-3
23:12:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}, {'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:12:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:13:04 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:12:55 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:12:55 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:13:11 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:13:02 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:13:02 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:13:18 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:13:10 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:13:10 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}
expect values: []
not expect values: []
23:13:24 test_sonic.run_scenario L0244 INFO |
execute command result:
23:13:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:13:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}
expect values: []
not expect values: []
23:13:30 test_sonic.run_scenario L0244 INFO |
execute command result:
23:13:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:13:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-4
23:13:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}, {'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:13:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:13:37 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:13:29 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:13:29 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:13:45 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:13:37 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:13:37 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:13:52 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:13:44 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:13:44 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:13:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}
expect values: []
not expect values: []
23:13:58 test_sonic.run_scenario L0244 INFO |
execute command result:
23:13:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:13:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:13:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}
expect values: []
not expect values: []
23:14:04 test_sonic.run_scenario L0244 INFO |
execute command result:
23:14:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:04 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:14:04 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-5
23:14:04 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 50.1.1.3/24'}, {'command': 'sudo config interface ip add Ethernet4 40.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:14:04 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:14:11 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:14:04 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:14:04 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:14:19 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:14:11 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:14:11 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:14:26 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:14:18 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:14:18 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:14:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 50.1.1.3/24'}
expect values: []
not expect values: []
23:14:32 test_sonic.run_scenario L0244 INFO |
execute command result:
23:14:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:14:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 40.0.100.1/24'}
expect values: []
not expect values: []
23:14:37 test_sonic.run_scenario L0244 INFO |
execute command result:
23:14:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:14:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:14:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-1
23:14:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 30.1.1.4 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 30.1.1.4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:14:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 30.1.1.4 -c 3'}
expect values: ['bytes from 30.1.1.4']
not expect values: []
23:14:45 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 30.1.1.4 (30.1.1.4) 56(84) bytes of data.
64 bytes from 30.1.1.4: icmp_seq=1 ttl=64 time=2.06 ms
64 bytes from 30.1.1.4: icmp_seq=2 ttl=64 time=0.802 ms
64 bytes from 30.1.1.4: icmp_seq=3 ttl=64 time=0.716 ms
--- 30.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.716/1.192/2.060/0.614 ms
23:14:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 30.1.1.4']
23:14:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 30.1.1.4 (30.1.1.4) 56(84) bytes of data.
64 bytes from 30.1.1.4: icmp_seq=1 ttl=64 time=2.06 ms
64 bytes from 30.1.1.4: icmp_seq=2 ttl=64 time=0.802 ms
64 bytes from 30.1.1.4: icmp_seq=3 ttl=64 time=0.716 ms
--- 30.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.716/1.192/2.060/0.614 ms
23:14:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-1
23:14:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 20.1.1.3 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 20.1.1.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:14:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 20.1.1.3 -c 3'}
expect values: ['bytes from 20.1.1.3']
not expect values: []
23:14:52 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 20.1.1.3 (20.1.1.3) 56(84) bytes of data.
64 bytes from 20.1.1.3: icmp_seq=1 ttl=64 time=2.17 ms
64 bytes from 20.1.1.3: icmp_seq=2 ttl=64 time=0.655 ms
64 bytes from 20.1.1.3: icmp_seq=3 ttl=64 time=0.928 ms
--- 20.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.655/1.250/2.167/0.657 ms
23:14:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 20.1.1.3']
23:14:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 20.1.1.3 (20.1.1.3) 56(84) bytes of data.
64 bytes from 20.1.1.3: icmp_seq=1 ttl=64 time=2.17 ms
64 bytes from 20.1.1.3: icmp_seq=2 ttl=64 time=0.655 ms
64 bytes from 20.1.1.3: icmp_seq=3 ttl=64 time=0.928 ms
--- 20.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.655/1.250/2.167/0.657 ms
23:14:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-2
23:14:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 30.1.1.2 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 30.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:14:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 30.1.1.2 -c 3'}
expect values: ['bytes from 30.1.1.2']
not expect values: []
23:15:00 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 30.1.1.2 (30.1.1.2) 56(84) bytes of data.
64 bytes from 30.1.1.2: icmp_seq=1 ttl=64 time=0.783 ms
64 bytes from 30.1.1.2: icmp_seq=2 ttl=64 time=0.805 ms
64 bytes from 30.1.1.2: icmp_seq=3 ttl=64 time=1.42 ms
--- 30.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.783/1.003/1.423/0.296 ms
23:15:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 30.1.1.2']
23:15:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 30.1.1.2 (30.1.1.2) 56(84) bytes of data.
64 bytes from 30.1.1.2: icmp_seq=1 ttl=64 time=0.783 ms
64 bytes from 30.1.1.2: icmp_seq=2 ttl=64 time=0.805 ms
64 bytes from 30.1.1.2: icmp_seq=3 ttl=64 time=1.42 ms
--- 30.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 0.783/1.003/1.423/0.296 ms
23:15:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-3
23:15:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 20.1.1.2 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 20.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 20.1.1.2 -c 3'}
expect values: ['bytes from 20.1.1.2']
not expect values: []
23:15:07 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 20.1.1.2 (20.1.1.2) 56(84) bytes of data.
64 bytes from 20.1.1.2: icmp_seq=1 ttl=64 time=0.670 ms
64 bytes from 20.1.1.2: icmp_seq=2 ttl=64 time=0.777 ms
64 bytes from 20.1.1.2: icmp_seq=3 ttl=64 time=0.818 ms
--- 20.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.670/0.755/0.818/0.062 ms
23:15:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 20.1.1.2']
23:15:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 20.1.1.2 (20.1.1.2) 56(84) bytes of data.
64 bytes from 20.1.1.2: icmp_seq=1 ttl=64 time=0.670 ms
64 bytes from 20.1.1.2: icmp_seq=2 ttl=64 time=0.777 ms
64 bytes from 20.1.1.2: icmp_seq=3 ttl=64 time=0.818 ms
--- 20.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2031ms
rtt min/avg/max/mdev = 0.670/0.755/0.818/0.062 ms
23:15:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-4
23:15:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 22.1.1.4 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 22.1.1.4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 22.1.1.4 -c 3'}
expect values: ['bytes from 22.1.1.4']
not expect values: []
23:15:15 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 22.1.1.4 (22.1.1.4) 56(84) bytes of data.
64 bytes from 22.1.1.4: icmp_seq=1 ttl=64 time=3.08 ms
64 bytes from 22.1.1.4: icmp_seq=2 ttl=64 time=0.727 ms
64 bytes from 22.1.1.4: icmp_seq=3 ttl=64 time=0.797 ms
--- 22.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.727/1.534/3.078/1.092 ms
23:15:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 22.1.1.4']
23:15:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 22.1.1.4 (22.1.1.4) 56(84) bytes of data.
64 bytes from 22.1.1.4: icmp_seq=1 ttl=64 time=3.08 ms
64 bytes from 22.1.1.4: icmp_seq=2 ttl=64 time=0.727 ms
64 bytes from 22.1.1.4: icmp_seq=3 ttl=64 time=0.797 ms
--- 22.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.727/1.534/3.078/1.092 ms
23:15:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-4
23:15:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 50.1.1.3 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 50.1.1.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 50.1.1.3 -c 3'}
expect values: ['bytes from 50.1.1.3']
not expect values: []
23:15:22 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 50.1.1.3 (50.1.1.3) 56(84) bytes of data.
64 bytes from 50.1.1.3: icmp_seq=1 ttl=64 time=2.32 ms
64 bytes from 50.1.1.3: icmp_seq=2 ttl=64 time=0.786 ms
64 bytes from 50.1.1.3: icmp_seq=3 ttl=64 time=0.767 ms
--- 50.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.767/1.291/2.322/0.728 ms
23:15:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 50.1.1.3']
23:15:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 50.1.1.3 (50.1.1.3) 56(84) bytes of data.
64 bytes from 50.1.1.3: icmp_seq=1 ttl=64 time=2.32 ms
64 bytes from 50.1.1.3: icmp_seq=2 ttl=64 time=0.786 ms
64 bytes from 50.1.1.3: icmp_seq=3 ttl=64 time=0.767 ms
--- 50.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.767/1.291/2.322/0.728 ms
23:15:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Default Network
23:15:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-1
23:15:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:15:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet8
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:15:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet8
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-3
23:15:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:15:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:15:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-2
23:15:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:15:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:15:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-4
23:15:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:15:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:15:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:15:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:15:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-1
23:15:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:15:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:15:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:16:00
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:03:35
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:03:46
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:41
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:00
23:15:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:15:50 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
23:16:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:02
C>*10.250.0.0/24 is directly connected, eth0, 00:16:15
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:02
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:03:50
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:01
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:56
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:15
23:16:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:16:05 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
23:16:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:07
C>*10.250.0.0/24 is directly connected, eth0, 00:16:31
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:07
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:04:06
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:17
I>*22.1.1.0/24 [115/20] via 30.1.1.4, Ethernet4, 00:00:13
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:04:12
I>*50.1.1.0/24 [115/30] via 30.1.1.4, Ethernet4, 00:00:07
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:31
23:16:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:16:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:07
C>*10.250.0.0/24 is directly connected, eth0, 00:16:31
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:07
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:04:06
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:17
I>*22.1.1.0/24 [115/20] via 30.1.1.4, Ethernet4, 00:00:13
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:04:12
I>*50.1.1.0/24 [115/30] via 30.1.1.4, Ethernet4, 00:00:07
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:31
23:16:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-2
23:16:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:16:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:16:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/30] via 30.1.1.2, Ethernet4, 00:00:18
C>*10.250.0.0/24 is directly connected, eth0, 00:14:45
I>*20.1.1.0/24 [115/20] via 30.1.1.2, Ethernet4, 00:00:18
I 22.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, inactive 00:00:13
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:36
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:36
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:31
I>*50.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, 00:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:45
23:16:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']
23:16:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/30] via 30.1.1.2, Ethernet4, 00:00:18
C>*10.250.0.0/24 is directly connected, eth0, 00:14:45
I>*20.1.1.0/24 [115/20] via 30.1.1.2, Ethernet4, 00:00:18
I 22.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, inactive 00:00:13
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:36
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:36
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:31
I>*50.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, 00:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:45
23:16:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-3
23:16:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:16:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:16:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:03:03
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:03:03
C>*10.250.0.0/24 is directly connected, eth0, 00:13:00
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:03:08
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:08
I>*22.1.1.0/24 [115/30] via 20.1.1.2, Ethernet0, 00:00:24
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:00:19
I>*50.1.1.0/24 [115/40] via 20.1.1.2, Ethernet0, 00:00:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:13:00
23:16:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']
23:16:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:03:03
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:03:03
C>*10.250.0.0/24 is directly connected, eth0, 00:13:00
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:03:08
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:08
I>*22.1.1.0/24 [115/30] via 20.1.1.2, Ethernet0, 00:00:24
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:00:19
I>*50.1.1.0/24 [115/40] via 20.1.1.2, Ethernet0, 00:00:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:13:00
23:16:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-4
23:16:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:16:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']
not expect values: []
23:16:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/40] via 22.1.1.4, Ethernet0, 00:00:24
C>*10.250.0.0/24 is directly connected, eth0, 00:11:13
I>*20.1.1.0/24 [115/30] via 22.1.1.4, Ethernet0, 00:00:24
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:24
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:02:40
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:02:40
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:24
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:02:34
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:02:34
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:11:13
23:16:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']
23:16:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/40] via 22.1.1.4, Ethernet0, 00:00:24
C>*10.250.0.0/24 is directly connected, eth0, 00:11:13
I>*20.1.1.0/24 [115/30] via 22.1.1.4, Ethernet0, 00:00:24
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:24
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:02:40
K 22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:02:40
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:24
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:02:34
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:02:34
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:11:13
23:16:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Send ping for network connection test
node name: R-4
23:16:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 10.0.100.1 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.100.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:16:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 10.0.100.1 -c 3'}
expect values: ['64 bytes from 10.0.100.1']
not expect values: []
23:16:46 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.0.100.1 (10.0.100.1) 56(84) bytes of data.
64 bytes from 10.0.100.1: icmp_seq=1 ttl=62 time=2.24 ms
64 bytes from 10.0.100.1: icmp_seq=2 ttl=62 time=2.25 ms
64 bytes from 10.0.100.1: icmp_seq=3 ttl=62 time=2.38 ms
--- 10.0.100.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.238/2.290/2.381/0.064 ms
23:16:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.0.100.1']
23:16:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.0.100.1 (10.0.100.1) 56(84) bytes of data.
64 bytes from 10.0.100.1: icmp_seq=1 ttl=62 time=2.24 ms
64 bytes from 10.0.100.1: icmp_seq=2 ttl=62 time=2.25 ms
64 bytes from 10.0.100.1: icmp_seq=3 ttl=62 time=2.38 ms
--- 10.0.100.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.238/2.290/2.381/0.064 ms
23:16:46 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Router Level
23:16:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set router level
node name: R-3
23:16:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "is-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:16:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "is-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:16:51 test_sonic.run_scenario L0244 INFO |
execute command result:
23:16:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:16:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:16:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set router level
node name: R-4
23:16:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "is-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:16:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "is-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:16:56 test_sonic.run_scenario L0244 INFO |
execute command result:
23:16:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:16:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:16:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-4
23:16:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS Level-2 link-state database']]
sub scenario retries: 5
sub scenario delay: 1
23:16:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['IS-IS Level-2 link-state database']
23:17:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
2000.0000.0001.00-00 91 0x00000002 0x1176 1138 1/0/0
2000.0000.0001.91-00 51 0x00000001 0x666b 1094 1/0/0
R-4.00-00 * 91 0x00000003 0x1e25 1142 0/0/0
3 LSPs
23:17:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
2000.0000.0001.00-00 91 0x00000002 0x1176 1138 1/0/0
2000.0000.0001.91-00 51 0x00000001 0x666b 1094 1/0/0
R-4.00-00 * 91 0x00000003 0x1e25 1142 0/0/0
3 LSPs
23:17:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface
node name: R-4
23:17:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface"'}]
sub scenario expect mode: and
sub scenario expect values: [['Up lan L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:17:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface"'}
expect values: ['Up lan L1']
not expect values: []
23:17:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface CircId State Type Level
Ethernet0 0x90 Up lan L1
Ethernet4 0x91 Up lan L1
23:17:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Up lan L1']
23:17:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface CircId State Type Level
Ethernet0 0x90 Up lan L1
Ethernet4 0x91 Up lan L1
23:17:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-4
23:17:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['2000.0000.0001 Ethernet0 1 Up']]
sub scenario not expect values: [['2000.0000.0001 Ethernet0 2 up']]
sub scenario retries: 5
sub scenario delay: 1
23:17:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['2000.0000.0001 Ethernet0 1 Up']
not expect values: ['2000.0000.0001 Ethernet0 2 up']
23:17:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0001 Ethernet0 1 Up 27 2250.f292.84b6
23:17:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['2000.0000.0001 Ethernet0 1 Up']
23:17:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0001 Ethernet0 1 Up 27 2250.f292.84b6
23:17:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis summary
node name: R-4
23:17:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis summary"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Level-2:']]
sub scenario retries: 5
sub scenario delay: 1
23:17:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis summary"'}
expect values: []
not expect values: ['Level-2:']
23:17:18 test_sonic.run_scenario L0244 INFO |
execute command result:
vrf : default
Process Id : 173
System Id : 2000.0000.0002
Up time : 00:01:34 ago
Number of areas : 1
Area AREA-2:
Net: 49.0002.2000.0000.0002.00
TX counters per PDU type:
L1 IIH: 69
L2 IIH: 53
L1 LSP: 3
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 34
L2 IIH: 34
L1 LSP: 3
L2 LSP: 9
L1 CSNP: 10
L2 CSNP: 10
Drop counters per PDU type:
L2 IIH: 7
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 3
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:22 ago
last run duration : 51 usec
run count : 6
23:17:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
vrf : default
Process Id : 173
System Id : 2000.0000.0002
Up time : 00:01:34 ago
Number of areas : 1
Area AREA-2:
Net: 49.0002.2000.0000.0002.00
TX counters per PDU type:
L1 IIH: 69
L2 IIH: 53
L1 LSP: 3
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 34
L2 IIH: 34
L1 LSP: 3
L2 LSP: 9
L1 CSNP: 10
L2 CSNP: 10
Drop counters per PDU type:
L2 IIH: 7
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 3
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:22 ago
last run duration : 51 usec
run count : 6
23:17:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-4
23:17:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS paths to level-2 routers that speak IP']]
sub scenario retries: 10
sub scenario delay: 10
23:17:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['IS-IS paths to level-2 routers that speak IP']
23:17:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------------
R-4
22.1.1.0/24 IP internal 0 R-4(4)
50.1.1.0/24 IP internal 0 R-4(4)
2000.0000.0001 TE-IS 10 2000.0000.0001 Ethernet0 R-4(4)
0.0.0.0/0 IP internal 10 2000.0000.0001 Ethernet0 R-4(4)
2000.0000.0001(4)
2000.0000.0001 pseudo_TE-IS 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
22.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
30.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
23:17:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------------
R-4
22.1.1.0/24 IP internal 0 R-4(4)
50.1.1.0/24 IP internal 0 R-4(4)
2000.0000.0001 TE-IS 10 2000.0000.0001 Ethernet0 R-4(4)
0.0.0.0/0 IP internal 10 2000.0000.0001 Ethernet0 R-4(4)
2000.0000.0001(4)
2000.0000.0001 pseudo_TE-IS 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
22.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
30.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
23:17:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-4
23:17:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*20.1.1.0/24', 'I>*10.0.100.0/24']]
sub scenario retries: 5
sub scenario delay: 1
23:17:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*20.1.1.0/24', 'I>*10.0.100.0/24']
23:17:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 22.1.1.4, Ethernet0, 00:00:33
C>*10.250.0.0/24 is directly connected, eth0, 00:12:05
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:33
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:32
K *22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:32
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:33
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:03:26
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:05
23:17:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 22.1.1.4, Ethernet0, 00:00:33
C>*10.250.0.0/24 is directly connected, eth0, 00:12:05
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:33
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:32
K *22.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:03:32
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:33
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:03:26
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:05
23:17:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-3
23:17:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS Level-2 link-state database']]
sub scenario retries: 5
sub scenario delay: 1
23:17:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['IS-IS Level-2 link-state database']
23:17:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000003 0x9f0f 1132 1/0/0
R-1.93-00 51 0x00000001 0xf708 1043 1/0/0
R-3.00-00 * 91 0x00000004 0x3948 1127 0/0/0
3 LSPs
23:17:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000003 0x9f0f 1132 1/0/0
R-1.93-00 51 0x00000001 0xf708 1043 1/0/0
R-3.00-00 * 91 0x00000004 0x3948 1127 0/0/0
3 LSPs
23:17:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface
node name: R-3
23:17:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface"'}]
sub scenario expect mode: and
sub scenario expect values: [['Up lan L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:17:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface"'}
expect values: ['Up lan L1']
not expect values: []
23:17:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface CircId State Type Level
Ethernet4 0x91 Up lan L1
Ethernet0 0x90 Up lan L1
23:17:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Up lan L1']
23:17:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface CircId State Type Level
Ethernet4 0x91 Up lan L1
Ethernet0 0x90 Up lan L1
23:17:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
23:17:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-1 Ethernet4 2 up']]
sub scenario retries: 5
sub scenario delay: 1
23:17:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-1 Ethernet4 2 up']
23:17:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
23:17:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
23:17:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis summary
node name: R-3
23:17:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis summary"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Level-2:']]
sub scenario retries: 5
sub scenario delay: 1
23:17:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis summary"'}
expect values: []
not expect values: ['Level-2:']
23:17:51 test_sonic.run_scenario L0244 INFO |
execute command result:
vrf : default
Process Id : 179
System Id : 1000.0000.0002
Up time : 00:02:18 ago
Number of areas : 1
Area AREA-1:
Net: 49.0001.1000.0000.0002.00
TX counters per PDU type:
L1 IIH: 99
L2 IIH: 57
L1 LSP: 4
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 50
L2 IIH: 50
L1 LSP: 4
L2 LSP: 9
L1 CSNP: 15
L2 CSNP: 11
Drop counters per PDU type:
L2 IIH: 21
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 4
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:30 ago
last run duration : 437 usec
run count : 8
23:17:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
vrf : default
Process Id : 179
System Id : 1000.0000.0002
Up time : 00:02:18 ago
Number of areas : 1
Area AREA-1:
Net: 49.0001.1000.0000.0002.00
TX counters per PDU type:
L1 IIH: 99
L2 IIH: 57
L1 LSP: 4
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 50
L2 IIH: 50
L1 LSP: 4
L2 LSP: 9
L1 CSNP: 15
L2 CSNP: 11
Drop counters per PDU type:
L2 IIH: 21
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 4
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:30 ago
last run duration : 437 usec
run count : 8
23:17:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-3
23:17:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS paths to level-2 routers that speak IP']]
sub scenario retries: 10
sub scenario delay: 10
23:17:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['IS-IS paths to level-2 routers that speak IP']
23:17:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 20 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
23:17:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:17:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 20 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
23:17:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-3
23:17:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*22.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario retries: 5
sub scenario delay: 1
23:17:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:18:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:01:11
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:04:33
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:04:33
C>*10.250.0.0/24 is directly connected, eth0, 00:14:30
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:01:11
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:04:38
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:04:38
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:01:11
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:30
23:18:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:01:11
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:04:33
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:04:33
C>*10.250.0.0/24 is directly connected, eth0, 00:14:30
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:01:11
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:04:38
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:04:38
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:01:11
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:30
23:18:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-1
23:18:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ROUTER-D']]
sub scenario retries: 5
sub scenario delay: 1
23:18:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['ROUTER-D']
23:18:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x9f0f 1099 1/0/0
R-1.93-00 * 51 0x00000001 0xf708 1009 1/0/0
R-3.00-00 91 0x00000004 0x3948 1093 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x6443 1152 0/0/0
R-1.93-00 * 27 0x00000001 0x1f38 (1153) 0/0/0
R-3.00-00 91 0x00000002 0x3f42 1026 0/0/0
R-2.00-00 91 0x00000003 0x2c61 1111 0/0/0
R-2.91-00 27 0x00000001 0x5cec (17) 0/0/0
R-2.92-00 51 0x00000001 0x5297 1016 0/0/0
R-4.00-00 91 0x00000002 0x2220 1038 0/0/0
7 LSPs
23:18:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x9f0f 1099 1/0/0
R-1.93-00 * 51 0x00000001 0xf708 1009 1/0/0
R-3.00-00 91 0x00000004 0x3948 1093 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x6443 1152 0/0/0
R-1.93-00 * 27 0x00000001 0x1f38 (1153) 0/0/0
R-3.00-00 91 0x00000002 0x3f42 1026 0/0/0
R-2.00-00 91 0x00000003 0x2c61 1111 0/0/0
R-2.91-00 27 0x00000001 0x5cec (17) 0/0/0
R-2.92-00 51 0x00000001 0x5297 1016 0/0/0
R-4.00-00 91 0x00000002 0x2220 1038 0/0/0
7 LSPs
23:18:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:18:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3 Ethernet8 2 Up']]
sub scenario retries: 5
sub scenario delay: 10
23:18:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-3 Ethernet8 2 Up']
23:18:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:18:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:18:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
23:18:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-4 Ethernet0 2 Up']]
sub scenario retries: 5
sub scenario delay: 10
23:18:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-4 Ethernet0 2 Up']
23:18:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
23:18:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
23:18:19 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Level
23:18:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit level
node name: R-1
23:18:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis circuit-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:18:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis circuit-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:18:24 test_sonic.run_scenario L0244 INFO |
execute command result:
23:18:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:18:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit level
node name: R-2
23:18:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis circuit-type level-1" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:18:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis circuit-type level-1" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:18:30 test_sonic.run_scenario L0244 INFO |
execute command result:
23:18:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:18:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet0
node name: R-2
23:18:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet0"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:18:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet0"'}
expect values: ['Level: L1']
not expect values: []
23:18:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface: Ethernet0, State: Up, Active, Circuit Id: 0x91
Type: lan, Level: L1, SNPA: 2250.f292.84b6
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
22.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
23:18:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L1']
23:18:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface: Ethernet0, State: Up, Active, Circuit Id: 0x91
Type: lan, Level: L1, SNPA: 2250.f292.84b6
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
22.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
23:18:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-2
23:18:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:18:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Level: L2']
not expect values: []
23:18:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 2250.f292.84b6
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
30.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
23:18:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L2']
23:18:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 2250.f292.84b6
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
30.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
23:18:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-1
23:18:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:18:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Level: L2']
not expect values: []
23:18:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:18:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L2']
23:18:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:18:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet8
node name: R-1
23:18:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet8"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:18:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet8"'}
expect values: ['Level: L1']
not expect values: []
23:18:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x93
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:18:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L1']
23:18:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x93
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:18:52 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Metric
23:18:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit metric
node name: R-1
23:18:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis metric 222" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis metric 111" \\\n-c "end" \\\n-c "clear isis neighbor" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:18:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis metric 222" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis metric 111" \\\n-c "end" \\\n-c "clear isis neighbor" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:18:57 test_sonic.run_scenario L0244 INFO |
execute command result:
23:18:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:18:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:18:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-1
23:18:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Metric: 222']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:18:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Metric: 222']
not expect values: []
23:19:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:19:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Metric: 222']
23:19:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:19:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet8
node name: R-1
23:19:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet8"'}]
sub scenario expect mode: and
sub scenario expect values: [['Metric: 111']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:19:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet8"'}
expect values: ['Metric: 111']
not expect values: []
23:19:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x93
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 111, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:19:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Metric: 111']
23:19:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0x93
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 111, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:19:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:19:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
not expect values: []
23:19:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
23:19:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
23:19:13 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
23:19:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:19:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
23:19:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:19:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:19:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']
not expect values: []
23:19:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:06
C>*10.250.0.0/24 is directly connected, eth0, 00:19:44
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:03
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:07:19
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:07:30
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:06
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:07:25
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:44
23:19:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']
23:19:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:06
C>*10.250.0.0/24 is directly connected, eth0, 00:19:44
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:03
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:07:19
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:07:30
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:06
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:07:25
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:44
23:19:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database detail
node name: R-2
23:19:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database detail"'}]
sub scenario expect mode: and
sub scenario expect values: [['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database detail"'}
expect values: ['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
not expect values: []
23:19:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x00000006 0x097a 1140 1/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.91-00 * 51 0x00000001 0x666b 935 1/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 2000.0000.0002.00 (Metric: 0)
R-4.00-00 91 0x00000004 0x1c26 1014 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xd8bc 1174 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.92 (Metric: 222)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-3.00-00 91 0x00000002 0x3f42 934 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
Extended Reachability: 1000.0000.0001.93 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
R-2.00-00 * 91 0x00000006 0x2664 1175 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.92 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.91-00 * 27 0x00000001 0x5cec (1065) 0/0/0
R-2.92-00 * 51 0x00000002 0x5098 1120 0/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
R-4.00-00 91 0x00000002 0x2220 946 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
6 LSPs
23:19:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
23:19:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x00000006 0x097a 1140 1/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.91-00 * 51 0x00000001 0x666b 935 1/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 2000.0000.0002.00 (Metric: 0)
R-4.00-00 91 0x00000004 0x1c26 1014 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xd8bc 1174 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.92 (Metric: 222)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-3.00-00 91 0x00000002 0x3f42 934 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
Extended Reachability: 1000.0000.0001.93 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
R-2.00-00 * 91 0x00000006 0x2664 1175 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.92 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.91-00 * 27 0x00000001 0x5cec (1065) 0/0/0
R-2.92-00 * 51 0x00000002 0x5098 1120 0/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
R-4.00-00 91 0x00000002 0x2220 946 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.91 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
6 LSPs
23:19:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-2
23:19:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']
not expect values: []
23:19:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-4 TE-IS 10 R-4 Ethernet0 R-2(4)
R-2
22.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
50.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-1 TE-IS 10 R-1 Ethernet4 R-2(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1(4)
R-2
30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1(4)
23:19:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']
23:19:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-4 TE-IS 10 R-4 Ethernet0 R-2(4)
R-2
22.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
50.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-1 TE-IS 10 R-1 Ethernet4 R-2(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1(4)
R-2
30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1(4)
23:19:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database detail
node name: R-3
23:19:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database detail"'}]
sub scenario expect mode: and
sub scenario expect values: [['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database detail"'}
expect values: ['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
not expect values: []
23:19:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xaa61 1163 1/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 1000.0000.0001.93 (Metric: 111)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-1.93-00 51 0x00000002 0xf509 1143 1/0/0
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
R-3.00-00 * 91 0x00000006 0x354a 1130 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 1000.0000.0001.93 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
3 LSPs
23:19:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
23:19:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xaa61 1163 1/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 1000.0000.0001.93 (Metric: 111)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-1.93-00 51 0x00000002 0xf509 1143 1/0/0
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
R-3.00-00 * 91 0x00000006 0x354a 1130 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 1000.0000.0001.93 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
3 LSPs
23:19:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-3
23:19:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:19:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']
not expect values: []
23:19:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 121 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1(4)
23:19:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']
23:19:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 121 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1(4)
23:19:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-3
23:19:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:19:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']
not expect values: []
23:20:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:00:35
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:06:32
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:06:32
C>*10.250.0.0/24 is directly connected, eth0, 00:16:29
I 20.1.1.0/24 [115/121] via 20.1.1.2, Ethernet0, inactive 00:00:35
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:06:37
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:06:37
I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0, 00:00:35
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:29
23:20:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']
23:20:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:00:35
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:06:32
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:06:32
C>*10.250.0.0/24 is directly connected, eth0, 00:16:29
I 20.1.1.0/24 [115/121] via 20.1.1.2, Ethernet0, inactive 00:00:35
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:06:37
K 20.1.1.0/24 [0/0] is directly connected, Ethernet0, 00:06:37
I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0, 00:00:35
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:16:29
23:20:02 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Authentication - Text
23:20:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - text
node name: R-1
23:20:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:20:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:20:07 test_sonic.run_scenario L0244 INFO |
execute command result:
23:20:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:20:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:20:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3 Ethernet8 1 Up']]
sub scenario retries: 10
sub scenario delay: 10
23:20:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-3 Ethernet8 1 Up']
23:20:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 23 222d.fa2d.1f4a
23:20:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:13 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
23:20:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 27 2250.f292.84b6
R-3 Ethernet8 1 Up 7 222d.fa2d.1f4a
23:20:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:28 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
23:20:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
23:20:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
23:20:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:20:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3']]
sub scenario retries: 15
sub scenario delay: 95
23:20:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['R-3']
23:20:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:20:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:20:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:20:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*10.0.100.0/24']]
sub scenario retries: 10
sub scenario delay: 10
23:20:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*10.0.100.0/24']
23:20:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:21:05
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:08:40
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:08:51
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:01:27
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:08:46
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:05
23:20:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:20:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:21:05
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:08:40
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:08:51
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:01:27
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:08:46
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:05
23:20:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
23:20:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: or
sub scenario expect values: [['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 15
23:20:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']
not expect values: []
23:21:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Initializing 29 223f.2c8b.31ee
23:21:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']
23:21:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Initializing 29 223f.2c8b.31ee
23:21:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - text
node name: R-3
23:21:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:21:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:21:06 test_sonic.run_scenario L0244 INFO |
execute command result:
23:21:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:21:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:21:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
23:21:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: or
sub scenario expect values: [['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:21:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']
not expect values: []
23:21:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 29 223f.2c8b.31ee
23:21:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']
23:21:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 29 223f.2c8b.31ee
23:21:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:21:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3 Ethernet8 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-3 Ethernet8 1 Up']
not expect values: []
23:21:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 30 222d.fa2d.1f4a
23:21:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3 Ethernet8 1 Up']
23:21:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 30 222d.fa2d.1f4a
23:21:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:21:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-3']
not expect values: []
23:21:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:21:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3']
23:21:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:21:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:21:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24']
not expect values: []
23:21:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:20
C>*10.250.0.0/24 is directly connected, eth0, 00:21:38
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:13
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:24
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:00
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:38
23:21:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24']
23:21:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:20
C>*10.250.0.0/24 is directly connected, eth0, 00:21:38
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:13
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:24
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:00
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:38
23:21:28 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Authentication - Text
23:21:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - text
node name: R-1
23:21:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:21:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:21:33 test_sonic.run_scenario L0244 INFO |
execute command result:
23:21:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:21:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:21:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - text
node name: R-3
23:21:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:21:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:21:39 test_sonic.run_scenario L0244 INFO |
execute command result:
23:21:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:21:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:21:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:21:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3 Ethernet8 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-3 Ethernet8 1 Up']
not expect values: []
23:21:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 27 222d.fa2d.1f4a
23:21:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3 Ethernet8 1 Up']
23:21:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 27 222d.fa2d.1f4a
23:21:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:21:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-3']
not expect values: []
23:21:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:21:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3']
23:21:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:21:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:21:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:21:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24']
not expect values: []
23:21:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:47
C>*10.250.0.0/24 is directly connected, eth0, 00:22:05
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:47
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:40
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:51
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:27
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:46
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:22:05
23:21:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24']
23:21:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:47
C>*10.250.0.0/24 is directly connected, eth0, 00:22:05
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:47
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:40
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:51
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:27
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:46
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:22:05
23:21:55 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Authentication - MD5
23:21:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - md5
node name: R-1
23:21:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:21:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:22:01 test_sonic.run_scenario L0244 INFO |
execute command result:
23:22:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:22:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:22:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:22:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*22.1.1.0/24']]
sub scenario retries: 10
sub scenario delay: 60
23:22:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*22.1.1.0/24']
23:22:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:58
C>*10.250.0.0/24 is directly connected, eth0, 00:22:16
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:58
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:51
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:10:02
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:38
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:57
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:22:16
23:22:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:22:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 60 seconds...((1/10 attempts)
23:23:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:02:04
C>*10.250.0.0/24 is directly connected, eth0, 00:23:22
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:42
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:10:57
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:11:08
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:11:03
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:23:22
23:23:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:23:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:02:04
C>*10.250.0.0/24 is directly connected, eth0, 00:23:22
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:42
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:10:57
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:11:08
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:11:03
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:23:22
23:23:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:23:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-2 Ethernet4 2 Up']]
sub scenario retries: 10
sub scenario delay: 10
23:23:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-2 Ethernet4 2 Up']
23:23:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:23:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:23:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:23:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:23:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-2']]
sub scenario retries: 15
sub scenario delay: 95
23:23:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['R-2']
23:23:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:23:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:23:23 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((1/15 attempts)
23:25:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:25:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:25:04 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((2/15 attempts)
23:26:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:26:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:26:44 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((3/15 attempts)
23:28:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:28:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:28:25 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((4/15 attempts)
23:30:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:30:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:30:05 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((5/15 attempts)
23:31:46 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:31:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:31:46 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((6/15 attempts)
23:33:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:33:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:33:26 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((7/15 attempts)
23:35:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:35:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:35:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((8/15 attempts)
23:36:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
23:36:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:36:47 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((9/15 attempts)
23:38:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
23:38:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:38:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
23:38:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
23:38:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Initializing']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:38:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Initializing']
not expect values: []
23:38:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Initializing 30 223f.2c8b.31ee
23:38:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Initializing']
23:38:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Initializing 30 223f.2c8b.31ee
23:38:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - md5
node name: R-2
23:38:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:38:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:38:39 test_sonic.run_scenario L0244 INFO |
execute command result:
23:38:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:38:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:38:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
23:38:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:38:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Up']
not expect values: []
23:38:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
23:38:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Up']
23:38:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
23:38:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:38:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:38:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-2 Ethernet4 2 Up']
not expect values: []
23:38:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 28 222d.fa2d.1f4a
23:38:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2 Ethernet4 2 Up']
23:38:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 28 222d.fa2d.1f4a
23:38:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:38:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:38:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-2']
not expect values: []
23:38:55 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:38:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2']
23:38:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:38:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:38:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:38:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24']
not expect values: []
23:39:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:17:53
C>*10.250.0.0/24 is directly connected, eth0, 00:39:11
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:26:46
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:26:57
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:20
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:26:52
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:11
23:39:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24']
23:39:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:17:53
C>*10.250.0.0/24 is directly connected, eth0, 00:39:11
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:26:46
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:26:57
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:20
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:26:52
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:11
23:39:01 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Authentication - MD5
23:39:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - md5
node name: R-1
23:39:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:39:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:39:06 test_sonic.run_scenario L0244 INFO |
execute command result:
23:39:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:39:06 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:39:06 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - md5
node name: R-2
23:39:06 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:39:06 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:39:12 test_sonic.run_scenario L0244 INFO |
execute command result:
23:39:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:39:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:39:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
23:39:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Up']
not expect values: []
23:39:17 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
23:39:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Up']
23:39:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
23:39:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
23:39:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-2 Ethernet4 2 Up']
not expect values: []
23:39:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:39:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2 Ethernet4 2 Up']
23:39:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 29 222d.fa2d.1f4a
23:39:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
23:39:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-2']
not expect values: []
23:39:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:39:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2']
23:39:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
23:39:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
23:39:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24']
not expect values: []
23:39:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:18:26
C>*10.250.0.0/24 is directly connected, eth0, 00:39:44
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:53
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:27:19
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:27:30
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:53
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:27:25
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:44
23:39:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24']
23:39:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:18:26
C>*10.250.0.0/24 is directly connected, eth0, 00:39:44
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:53
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:27:19
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:27:30
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:53
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:27:25
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:44
23:39:34 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Priority
23:39:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set Interface Priority of R-1 Ethernet4
node name: R-1
23:39:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" -c "interface Ethernet4" -c "isis priority 100" -c "end"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:39:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" -c "interface Ethernet4" -c "isis priority 100" -c "end"'}
expect values: []
not expect values: []
23:39:39 test_sonic.run_scenario L0244 INFO |
execute command result:
23:39:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:39:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:39:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check interface priority of R-1
node name: R-1
23:39:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 100, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['LAN Priority: 100, is DIS']
not expect values: []
23:39:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 100, is DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:39:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 100, is DIS']
23:39:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0x92
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 100, is DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
23:39:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
23:39:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 100, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: ['LAN Priority: 100, is DIS']
not expect values: []
23:39:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 3, Last: 1m11s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: R-1.92
LAN Priority: 100, is DIS, DIS flaps: 2, Last: 10s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:39:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 100, is DIS']
23:39:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 3, Last: 1m11s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: R-1.92
LAN Priority: 100, is DIS, DIS flaps: 2, Last: 10s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:39:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
23:39:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 64, is not DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:39:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: ['LAN Priority: 64, is not DIS']
not expect values: []
23:39:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m16s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: 1000.0000.0001.92
LAN Priority: 64, is not DIS, DIS flaps: 2, Last: 16s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:39:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 64, is not DIS']
23:39:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m16s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: 1000.0000.0001.92
LAN Priority: 64, is not DIS, DIS flaps: 2, Last: 16s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:39:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set circuit priority
node name: R-1
23:39:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis priority 60" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:39:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis priority 60" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:40:01 test_sonic.run_scenario L0244 INFO |
execute command result:
23:40:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:40:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:40:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
23:40:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 60, is not DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: ['LAN Priority: 60, is not DIS']
not expect values: []
23:40:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 3, Last: 1m27s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.92
LAN Priority: 60, is not DIS, DIS flaps: 3, Last: 3s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:40:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 60, is not DIS']
23:40:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 3, Last: 1m27s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.92
LAN Priority: 60, is not DIS, DIS flaps: 3, Last: 3s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:40:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
23:40:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 64, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: ['LAN Priority: 64, is DIS']
not expect values: []
23:40:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 30s
Adjacency flaps: 1, Last: 1m32s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.92
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 9s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:40:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 64, is DIS']
23:40:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 30s
Adjacency flaps: 1, Last: 1m32s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.92
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 9s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:40:12 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Priority
23:40:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete circuit priority
node name: R-1
23:40:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis priority" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:40:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis priority" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:40:17 test_sonic.run_scenario L0244 INFO |
execute command result:
23:40:17 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:40:17 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:40:17 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
23:40:17 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:17 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: []
not expect values: []
23:40:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 30s
Adjacency flaps: 3, Last: 1m43s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.92
LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 19s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:40:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:40:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 30s
Adjacency flaps: 3, Last: 1m43s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.92
LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 19s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
23:40:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
23:40:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: []
not expect values: []
23:40:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 1, Last: 1m49s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.92
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 26s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:40:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:40:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 1, Last: 1m49s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.92
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 26s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
23:40:28 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Dynamic Hostname
23:40:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-2
23:40:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1']
not expect values: []
23:40:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x0000000b 0xfe7f 1153 1/0/0
R-2.91-00 * 51 0x00000002 0x5c7c 548 0/0/0
2000.0000.0002.00-00 91 0x00000005 0x1a27 633 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0xcac3 1141 0/0/0
R-1.92-00 27 0x00000001 0x2632 (28) 0/0/0
R-2.00-00 * 91 0x0000000b 0x1c69 1167 0/0/0
R-2.92-00 * 51 0x00000005 0x4a9b 1155 0/0/0
4 LSPs
23:40:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1']
23:40:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x0000000b 0xfe7f 1153 1/0/0
R-2.91-00 * 51 0x00000002 0x5c7c 548 0/0/0
2000.0000.0002.00-00 91 0x00000005 0x1a27 633 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0xcac3 1141 0/0/0
R-1.92-00 27 0x00000001 0x2632 (28) 0/0/0
R-2.00-00 * 91 0x0000000b 0x1c69 1167 0/0/0
R-2.92-00 * 51 0x00000005 0x4a9b 1155 0/0/0
4 LSPs
23:40:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-3
23:40:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1']
not expect values: []
23:40:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0x9c68 1153 1/0/0
R-1.93-00 51 0x00000004 0xe91b 898 0/0/0
R-3.00-00 * 91 0x00000009 0x2f4d 814 0/0/0
3 LSPs
23:40:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1']
23:40:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0x9c68 1153 1/0/0
R-1.93-00 51 0x00000004 0xe91b 898 0/0/0
R-3.00-00 * 91 0x00000009 0x2f4d 814 0/0/0
3 LSPs
23:40:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-1
23:40:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1', 'R-2', 'R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:40:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1', 'R-2', 'R-3']
not expect values: []
23:40:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1147 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 892 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 808 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1130 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1157) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1156 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1144 0/0/0
4 LSPs
23:40:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:40:45 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
23:41:00 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1132 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 877 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 793 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1115 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1142) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1141 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1129 0/0/0
4 LSPs
23:41:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:41:00 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
23:41:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1116 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 861 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 777 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1099 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1126) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1125 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1113 0/0/0
4 LSPs
23:41:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:41:16 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((3/10 attempts)
23:41:31 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1101 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 846 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 762 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1084 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1111) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1110 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1098 0/0/0
4 LSPs
23:41:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:41:31 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((4/10 attempts)
23:41:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1086 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 831 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 747 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1069 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1096) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1095 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1083 0/0/0
4 LSPs
23:41:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:41:47 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((5/10 attempts)
23:42:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1070 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 815 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 731 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1053 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1080) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1079 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1067 0/0/0
4 LSPs
23:42:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:42:02 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((6/10 attempts)
23:42:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1055 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 800 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 716 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1038 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1065) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1064 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1052 0/0/0
4 LSPs
23:42:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:42:18 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((7/10 attempts)
23:42:33 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1039 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 784 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 700 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1022 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1049) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1048 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1036 0/0/0
4 LSPs
23:42:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:42:33 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((8/10 attempts)
23:42:48 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1024 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 769 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 685 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 1007 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1034) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1033 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1021 0/0/0
4 LSPs
23:42:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:42:48 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((9/10 attempts)
23:43:04 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1008 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 753 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 669 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 991 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1018) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1017 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1005 0/0/0
4 LSPs
23:43:04 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
23:43:04 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((10/10 attempts)
23:43:14 test_sonic.run_scenario L0292 ERROR | Test failed after 10 retries for command: vtysh -c "show isis database"
23:43:14 test_sonic.run_scenario L0293 ERROR | Final output was:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x9c68 1008 1/0/0
R-1.93-00 * 51 0x00000004 0xe91b 753 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x2f4d 669 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xcac3 991 0/0/0
R-1.92-00 * 27 0x00000001 0x2632 (1018) 0/0/0
R-2.00-00 91 0x0000000b 0x1c69 1017 0/0/0
R-2.92-00 51 0x00000005 0x4a9b 1005 0/0/0
4 LSPs
ERROR:root:Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 413, in test_scenario
run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 294, in run_scenario
assert False, error_message
AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
23:43:14 __init__.pytest_runtest_call L0040 ERROR | Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 413, in test_scenario
run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 294, in run_scenario
assert False, error_message
AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
FAILEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
23:43:14 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
23:43:18 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
23:43:19 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
23:43:19 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
23:43:19 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
23:43:20 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
23:43:20 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:05.719644 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh23:43:20 config_reload.config_reload L0144 INFO | reloading config_db
23:44:43 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:44:43 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:44:47 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:44:47 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:45:07 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:45:11 config_reload.config_reload L0144 INFO | reloading config_db
23:46:33 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:46:33 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:46:37 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:46:37 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:46:57 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:47:01 config_reload.config_reload L0144 INFO | reloading config_db
23:48:23 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:48:23 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:48:28 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:48:28 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:48:48 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:48:52 config_reload.config_reload L0144 INFO | reloading config_db
23:50:14 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:50:14 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:50:18 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:50:18 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:50:38 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:50:42 config_reload.config_reload L0144 INFO | reloading config_db
23:52:06 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
23:52:06 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
23:52:10 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
23:52:10 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
23:52:30 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config23:52:44 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario23:52:44 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-1
23:52:45 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-1
23:52:45 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-1
23:52:46 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-2
23:52:46 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-2
23:52:47 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-2
23:52:47 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-3
23:52:48 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-3
23:52:48 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-3
23:52:49 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-4
23:52:50 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-4
23:52:51 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-4
23:52:51 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-5
23:52:52 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-5
23:52:52 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-5
23:52:53 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
=================================== FAILURES ===================================
________________________________ test_scenario _________________________________
duthosts = [, , , , ]
ubuntus = []
vmhost =
parse_scenario =
record_property = .append_property at 0x7088db902c10>
reload_config = None
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'], ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '])
ubuntu_paramiko_ssh = ([], [])
def test_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonic_paramiko_ssh, ubuntu_paramiko_ssh):
sonicHostname, sonic_ssh_prompt = sonic_paramiko_ssh
ubuntuHostname, ubuntu_ssh_prompt = ubuntu_paramiko_ssh
> run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
duthosts = [, , , , ]
parse_scenario =
record_property = .append_property at 0x7088db902c10>
reload_config = None
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'], ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '])
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ubuntuHostname = []
ubuntu_paramiko_ssh = ([], [])
ubuntu_ssh_prompt = []
ubuntus = []
vmhost =
test_sonic/test_sonic.py:413:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
duthosts = [, , , , ]
ubuntus = []
vmhost =
parse_scenario =
record_property = .append_property at 0x7088db902c10>
reload_config = None, sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ubuntuHostname = [], ubuntu_ssh_prompt = []
def run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt):
duthost = duthosts
ubuntu = ubuntus
server = vmhost
logger.info('test device hostname: {}'.format(duthost.hostname))
logger.info('server hostname: {}'.format(server.hostname))
# Parsing Scenario data
scenario = parse_scenario
logger.info('step 0) scenario_data:\n{}'.format(scenario))
# This Section, parsed data save to variable for test
for keys in scenario:
scenario_name = keys['scenario_name']
logger.info('\nstep 1) scenario name:{}'.format(scenario_name))
record_property("Scenario_name","{}".format(scenario_name))
for tasks in keys['steps']:
sub_scenario_name = tasks['name']
if scenario_name == "Print Topology Image":
topo_img_path = tasks['img_path']
topo_img_name = tasks['img_name']
sum_img_path = topo_img_path + '/' + topo_img_name
start_time = datetime.now().strftime('%H:%M:%S')
assert sum_img_path, record_property("Fail", "Fail")
record_property('Action', sub_scenario_name)
record_property('Session','caller')
record_property('Time Stamp',start_time)
record_property('Pass/Fail','Pass')
record_property('Parameter',topo_img_name)
record_property('Response',sum_img_path)
elif scenario_name == "Session Check":
session_node_name = tasks['node']
logger.info('nodes: {}'.format(session_node_name))
device = sonicHostname + ubuntuHostname
ssh_prompt = sonic_ssh_prompt + ubuntu_ssh_prompt
for dev, ssh in zip(device, ssh_prompt):
if dev == session_node_name:
logger.info('step 1)\nHostname:\n{}\nnode name:\n{}'.format(dev, session_node_name))
logger.info('step 2)\nssh_prompt:\n{}'.format(ssh))
start_time = datetime.now().strftime('%H:%M:%S')
assert dev == session_node_name, record_property("Fail", "Fail")
logger.info('step 3)\n pass')
record_property("Action", sub_scenario_name)
record_property("Session","{}".format(dev))
record_property("Time Stamp",start_time)
record_property("Pass/Fail","Pass")
record_property("Parameter","None")
record_property("Response","{}".format(ssh))
elif 'source' in tasks and 'packet' in tasks:
# Duck-typing: If a step has 'source' and 'packet', it is a Traffic Generation test
logger.info('\nstep 1) Traffic Generation test detected: {}'.format(sub_scenario_name))
start_time = datetime.now().strftime('%H:%M:%S')
execute_traffic_step(tasks, duthost, ubuntu)
# If it successfully returns without assertion failure, we record PASS
record_property("Action", sub_scenario_name)
record_property("Session", tasks['source']['node'])
record_property("Time Stamp", start_time)
record_property("Pass/Fail", "Pass")
record_property("Parameter", "Snappi TRex Traffic ({} pkts)".format(tasks['packet']['tx_packets']))
record_property("Response", "Traffic validation succeeded")
record_property("Judgement", "Success")
else:
node_name = tasks['node']
logger.info('\nstep 1-1) sub scenario name: {}\nnode name: {}'.format(sub_scenario_name, node_name))
if 'template' in tasks:
import yaml
from jinja2 import Template
scenario_path = getattr(parse_scenario, 'scenario_filename', '')
if "bgp/" in scenario_path or "bgp_policy/" in scenario_path:
ip_profile = "bgp_ip"
elif "ospf_routemap_redistribute/" in scenario_path:
ip_profile = "ospf_redist_ip"
else:
ip_profile = "common_ip"
if "vlan/" in scenario_path or "lacp/" in scenario_path or "ip/" in scenario_path:
start_daemons = False
else:
start_daemons = True
try:
with open("/data/NetAutoTestFW/ansible/vsonic_vtb", "r") as f:
vtb = yaml.safe_load(f)
ip_map = vtb['all']['children']['sonic_r']['vars'].get(ip_profile, {})
target_ips = ip_map.get(node_name, [])
except Exception as e:
logger.error(f"Failed to load IP profile from vsonic_vtb: {e}")
target_ips = []
template_path = tasks['template']
with open(f"/data/NetAutoTestFW/{template_path}", "r") as f:
template_content = f.read()
rendered = Template(template_content).render(ip_list=target_ips, start_daemons=start_daemons)
cmds = [cmd.strip() for cmd in rendered.strip().split('\n') if cmd.strip() and not cmd.strip().startswith('#')]
tasks['actions'] = [{'command': cmd} for cmd in cmds]
tasks['expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}
tasks['not_expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}
sub_scenario_actions = tasks['actions']
sub_scenario_expect = tasks.get('expect', {'mode': 'and', 'values': []})
sub_scenario_not_expect = tasks.get('not_expect', {'mode': 'and', 'values': []})
sub_scenario_retries = tasks.get('retries', 5)
sub_scenario_delay = tasks.get('delay', 1)
sub_sce_exp_mode = sub_scenario_expect.get('mode', 'and')
sub_sce_exp_values = sub_scenario_expect.get('values', [])
sub_sce_not_exp_values = sub_scenario_not_expect.get('values', [])
logger.info('\nstep 1-2) sub scenario actions: {}\nsub scenario expect mode: {}\nsub scenario expect values: {}\nsub scenario not expect values: {}\nsub scenario retries: {}\nsub scenario delay: {}'.format(sub_scenario_actions, sub_sce_exp_mode, sub_sce_exp_values, sub_sce_not_exp_values, sub_scenario_retries, sub_scenario_delay))
# This Section, command execute to SONiC Test Device
for dut in duthost:
if node_name == dut.hostname:
for act_command, expect_values, not_expect_values in zip(sub_scenario_actions, sub_sce_exp_values, sub_sce_not_exp_values):
logger.info('\nstep 1-3) act command: {}\nexpect values: {}\nnot expect values: {}'.format(act_command, expect_values, not_expect_values))
single_command = act_command.get('command')
timestamps = datetime.now().strftime('%H:%M:%S')
contain_str = '\n'.join("contain string: {}".format(v) for v in expect_values)
not_contain_str = '\n'.join("not contain string: {}".format(n) for n in not_expect_values)
# trace success function
trace_success = False
output = ""
# This Section, repeat until the output contains the intended value.
for attempt in range(sub_scenario_retries):
execute_cmd = dut.shell(single_command, module_ignore_errors=True)
time.sleep(5)
stdout = execute_cmd.get('stdout', '')
stderr = execute_cmd.get('stderr', '')
output = stdout + '\n' + stderr
nomalized_lines = [' '.join(line.split()) for line in output.splitlines()]
logger.info('\nexecute command result:\n{}'.format(output))
logger.info('\nexpect value in result:\n{}'.format(expect_values))
import re
if 'neighbor' in single_command and 'remote-as' in single_command:
match = re.search(r'neighbor\s+([0-9\.]+)\s+remote-as', single_command)
if match:
neighbor_ip = match.group(1)
logger.info(f"[{node_name}] Auto Ping Verification to neighbor: {neighbor_ip}")
ping_result = dut.shell(f"ping {neighbor_ip} -c 3", module_ignore_errors=True)
logger.info(f"[{node_name}] Ping result:\n{ping_result.get('stdout', '')}")
if ping_result.get('rc', -1) != 0:
logger.warning(f"[{node_name}] Ping failed to {neighbor_ip}")
expect_ok = False
if not expect_values:
expect_ok = True
elif sub_sce_exp_mode == "and":
expect_ok = all(any(val in line for line in nomalized_lines) for val in expect_values)
elif sub_sce_exp_mode == "or":
expect_ok = any(any(val in line for line in nomalized_lines) for val in expect_values)
not_expect_ok = not not_expect_values or all(all(val not in line for line in nomalized_lines) for val in not_expect_values)
condition_met = expect_ok and not_expect_ok
if condition_met:
logger.info('The expected value is included in the printed result.\noutput:\n{}'.format(output))
trace_success = True
if isinstance(output, str) and output.strip():
if not_expect_values == "":
exist_only_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, record_property)
elif not_expect_values != "" and expect_values == "":
exist_only_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, not_contain_str, record_property)
elif not_expect_values != "" and expect_values != "":
exist_not_expect_and_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, not_contain_str, record_property)
else:
empty_expect_and_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, record_property)
break
else:
logger.info('Contidion not met. Retrying in {} seconds...(({}/{} attempts)'.format(sub_scenario_delay, attempt + 1, sub_scenario_retries))
time.sleep(sub_scenario_delay)
if not trace_success:
# If generated AssertionError when test failed
error_message = "Test failed after {} retries for command: {}".format(sub_scenario_retries, single_command)
logger.error(error_message)
INFO:root:Can not get Allure report URL. Please check logs
logger.error("Final output was:\n{}".format(output))
> assert False, error_message
E AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
Template =
act_command = {'command': 'vtysh -c "show isis database"'}
attempt = 9
cmds = ['docker exec -i bgp bash -c "/usr/lib/frr/ripd &"', 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"', 'docker exec...spfd &"', 'sudo config interface ip add Ethernet0 50.1.1.3/24', 'sudo config interface ip add Ethernet4 40.0.100.1/24']
condition_met = False
contain_str = 'contain string: R-1\ncontain string: R-2\ncontain string: R-3'
dev = 'R-5'
device = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
dut =
duthost = [, , , , ]
duthosts = [, , , , ]
error_message = 'Test failed after 10 retries for command: vtysh -c "show isis database"'
execute_cmd = {'changed': True, 'stdout': 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumb...51 0x00000005 0x4a9b 1005 0/0/0', ' 4 LSPs'], 'stderr_lines': [], '_ansible_no_log': None, 'failed': False}
expect_ok = False
expect_values = ['R-1', 'R-2', 'R-3']
f = <_io.TextIOWrapper name='/data/NetAutoTestFW/tests/common/templates/common_setup.j2' mode='r' encoding='UTF-8'>
ip_map = {'R-1': [{'intf': 'Ethernet0', 'ip': '21.1.1.2/24'}, {'intf': 'Ethernet4', 'ip': '30.1.1.2/24'}, {'intf': 'Ethernet8',...0.0.100.1/24'}], 'R-4': [{'intf': 'Ethernet0', 'ip': '22.1.1.11/24'}, {'intf': 'Ethernet4', 'ip': '50.1.1.2/24'}], ...}
ip_profile = 'common_ip'
keys = {'scenario_name': 'Set Dynamic Hostname', 'steps': [{'actions': [{'command': 'vtysh -c "show isis database"'}], 'delay...'}], 'delay': 10, 'expect': {'mode': 'and', 'values': [['1000.0000.0001']]}, 'name': 'Check isis database', ...}, ...]}
node_name = 'R-1'
nomalized_lines = ['Area AREA-1:', 'IS-IS Level-1 link-state database:', 'LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL', 'R-1.00-00 ... 1008 1/0/0', 'R-1.93-00 * 51 0x00000004 0xe91b 753 0/0/0', '1000.0000.0002.00-00 91 0x00000009 0x2f4d 669 0/0/0', ...]
not_contain_str = ''
not_expect_ok = True
not_expect_values = []
output = 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumber Chksum Holdtime ATT/P...0x0000000b 0x1c69 1017 0/0/0\nR-2.92-00 51 0x00000005 0x4a9b 1005 0/0/0\n 4 LSPs\n'
parse_scenario =
re =
record_property = .append_property at 0x7088db902c10>
reload_config = None
rendered = '\n# Start daemons\ndocker exec -i bgp bash -c "/usr/lib/frr/ripd &"\ndocker exec -i bgp bash -c "/usr/lib/frr/isisd &...et IPs\n\nsudo config interface ip add Ethernet0 50.1.1.3/24\n\nsudo config interface ip add Ethernet4 40.0.100.1/24\n'
scenario =
scenario_name = 'Set Dynamic Hostname'
scenario_path = 'test_sonic/integration_scen/scenario_isis.yaml'
server =
session_node_name = 'R-5'
single_command = 'vtysh -c "show isis database"'
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ssh = 'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___ ...: https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '
ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 22:55:56 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
start_daemons = True
start_time = '23:11:36'
stderr = ''
stdout = 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumber Chksum Holdtime ATT/P... 0x0000000b 0x1c69 1017 0/0/0\nR-2.92-00 51 0x00000005 0x4a9b 1005 0/0/0\n 4 LSPs'
sub_sce_exp_mode = 'and'
sub_sce_exp_values = [['R-1', 'R-2', 'R-3']]
sub_sce_not_exp_values = [[]]
sub_scenario_actions = [{'command': 'vtysh -c "show isis database"'}]
sub_scenario_delay = 10
sub_scenario_expect = {'mode': 'and', 'values': [['R-1', 'R-2', 'R-3']]}
sub_scenario_name = 'Check isis database'
sub_scenario_not_expect = {'values': [[]]}
sub_scenario_retries = 10
sum_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img/topo-L2-L3.jpg'
target_ips = [{'intf': 'Ethernet0', 'ip': '50.1.1.3/24'}, {'intf': 'Ethernet4', 'ip': '40.0.100.1/24'}]
tasks = {'actions': [{'command': 'vtysh -c "show isis database"'}], 'delay': 10, 'expect': {'mode': 'and', 'values': [['R-1', 'R-2', 'R-3']]}, 'name': 'Check isis database', ...}
template_content = '{% if start_daemons %}\n# Start daemons\ndocker exec -i bgp bash -c "/usr/lib/frr/ripd &"\ndocker exec -i bgp bash -c...%}\n\n# Set IPs\n{% for item in ip_list %}\nsudo config interface ip add {{ item.intf }} {{ item.ip }}\n{% endfor %}\n'
template_path = 'tests/common/templates/common_setup.j2'
timestamps = '23:40:39'
topo_img_name = 'topo-L2-L3.jpg'
topo_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img'
trace_success = False
ubuntu = []
ubuntuHostname = []
ubuntu_ssh_prompt = []
ubuntus = []
vmhost =
vtb = {'all': {'children': {'TGS': {'hosts': {'TG-1': {'ansible_host': '10.250.0.108', 'ansible_password': 'password', 'ansi...': [...], 'R-4': [...], ...}, 'common_ip': {'R-1': [...], 'R-2': [...], 'R-3': [...], 'R-4': [...], ...}, ...}}, ...}}}
yaml =
test_sonic/test_sonic.py:294: AssertionError
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
23:52:53 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
=========================== short test summary info ============================
FAILED test_sonic/test_sonic.py::test_scenario - AssertionError: Test failed ...
======================== 1 failed in 2544.76s (0:42:24) ========================
⚠️ [WARN] Scenario failed on attempt 1/2 (exit code 1): test_sonic/integration_scen/scenario_isis.yaml
Retrying test_sonic/integration_scen/scenario_isis.yaml in 30s...
Running test command. . . (attempt 2/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4,R-5 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_isis.yaml
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4,R-5 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_isis.yaml --showlocals --assert plain --show-capture no -rav --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
23:53:24 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
23:53:26 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
23:53:27 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
23:53:27 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
23:53:27 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
23:53:28 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
23:53:29 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
23:53:29 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
23:53:29 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
23:53:29 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:29 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
23:53:29 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
23:53:29 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo23:53:29 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc23:53:29 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:32 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
23:53:32 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
23:53:32 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
23:53:32 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:33 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
23:53:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:33 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
23:53:33 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:34 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
23:53:34 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:34 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
23:53:35 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:37 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:37 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
23:53:37 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
23:53:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
23:53:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:38 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
23:53:38 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:39 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
23:53:39 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:39 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
23:53:39 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:39 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
23:53:40 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:43 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:43 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
23:53:43 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
23:53:44 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
23:53:44 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:44 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
23:53:44 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:45 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
23:53:45 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:46 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
23:53:46 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:47 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
23:53:47 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:50 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:50 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
23:53:50 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
23:53:50 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
23:53:50 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:51 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
23:53:51 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:51 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
23:53:51 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:52 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
23:53:52 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:52 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
23:53:53 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:55 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-5
23:53:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle
23:53:55 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle
23:53:55 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:56 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.os_version" to /data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle
23:53:56 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:56 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.feature_status" to /data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle
23:53:56 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:57 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle
23:53:57 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
23:53:57 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property23:53:59 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
23:53:59 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
23:53:59 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
23:53:59 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
23:53:59 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.55
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context23:53:59 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)23:53:59 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
23:54:00 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
23:54:00 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
23:54:01 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
23:54:02 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
23:54:02 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
23:54:03 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
23:54:03 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
23:54:04 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
23:54:04 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
23:54:05 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
23:54:05 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
23:54:06 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-5
23:54:06 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-5
23:54:07 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-5
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)23:54:07 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_isis.yaml
23:54:07 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_isis.yaml
23:54:08 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_isis.yaml
23:54:08 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario23:54:08 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)23:54:18 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
23:54:18 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
23:54:18 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
23:54:18 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:54:18 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:54:18 transport._log L1873 INFO | Authentication (publickey) failed.
23:54:18 transport._log L1873 INFO | Authentication (password) successful!
23:54:18 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:19 2026 from 10.250.0.1
admin@R-1:~$
23:54:20 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
23:54:20 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
23:54:20 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
23:54:20 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:54:21 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:54:21 transport._log L1873 INFO | Authentication (publickey) failed.
23:54:21 transport._log L1873 INFO | Authentication (password) successful!
23:54:21 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:22 2026 from 10.250.0.1
admin@R-2:~$
23:54:22 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
23:54:23 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
23:54:23 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
23:54:23 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:54:23 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:54:23 transport._log L1873 INFO | Authentication (publickey) failed.
23:54:23 transport._log L1873 INFO | Authentication (password) successful!
23:54:23 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:22 2026 from 10.250.0.1
admin@R-3:~$
23:54:24 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
23:54:25 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
23:54:25 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
23:54:25 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:54:25 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:54:25 transport._log L1873 INFO | Authentication (publickey) failed.
23:54:25 transport._log L1873 INFO | Authentication (password) successful!
23:54:25 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:25 2026 from 10.250.0.1
admin@R-4:~$
23:54:26 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
23:54:27 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.55/24': {'gwaddr': '10.250.0.1'}}
23:54:27 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-5
username:admin
password:password
23:54:27 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
23:54:27 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
23:54:27 transport._log L1873 INFO | Authentication (publickey) failed.
23:54:27 transport._log L1873 INFO | Authentication (password) successful!
23:54:27 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
23:54:27 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:28 2026 from 10.250.0.1
23:54:27 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:28 2026 from 10.250.0.1
admin@R-5:~$
23:54:29 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-5
23:54:29 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)23:54:29 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
23:54:29 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)23:54:30 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
23:54:30 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
23:54:30 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
23:54:30 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
23:54:30 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-5
23:54:31 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:54:32 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:54:32 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:54:32 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:54:32 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- terminated with exit code None
23:54:32 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_logrotate" in 0:00:03.746818 seconds
23:54:32 __init__.analyzer_add_marker L0035 INFO | add marker called on R-1
23:54:32 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-1
23:54:32 __init__.analyzer_add_marker L0035 INFO | add marker called on R-2
23:54:32 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-2
23:54:32 __init__.analyzer_add_marker L0035 INFO | add marker called on R-3
23:54:32 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-3
23:54:32 __init__.analyzer_add_marker L0035 INFO | add marker called on R-4
23:54:32 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-4
23:54:32 __init__.analyzer_add_marker L0035 INFO | add marker called on R-5
23:54:32 __init__.analyzer_add_marker L0037 INFO | Add start marker into SONiC Devices syslog for host R-5
23:54:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:54:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:54:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:54:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:54:35 parallel.on_terminate L0085 INFO | process analyzer_add_marker-- terminated with exit code None
23:54:35 parallel.parallel_run L0221 INFO | Completed running processes for target "analyzer_add_marker" in 0:00:03.085712 seconds
SETUP F loganalyzer (fixtures used: duthosts)
SETUP F record_property
test_sonic/test_sonic.py::test_scenario (fixtures used: add_mgmt_test_mark, ansible_adhoc, core_dump_and_config_check, duthosts, enhance_inventory, loganalyzer, parallel_run_context, parse_scenario, pytestconfig, record_property, record_testsuite_property, reload_config, request, sanity_check, setup_trex_daemons, sonic_paramiko_ssh, tag_test_report, tbinfo, ubuntu_paramiko_ssh, ubuntus, vmhost)INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario call ====================
-------------------------------- live log call ---------------------------------
23:54:35 test_sonic.run_scenario L0098 INFO | test device hostname: , , , , ]>
23:54:35 test_sonic.run_scenario L0099 INFO | server hostname: STR-ACS-VSERV-01
23:54:35 test_sonic.run_scenario L0103 INFO | step 0) scenario_data:
23:54:35 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Print Topology Image
23:54:35 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Session Check
23:54:35 test_sonic.run_scenario L0130 INFO | nodes: R-1
23:54:35 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-1
node name:
R-1
23:54:35 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:19 2026 from 10.250.0.1
admin@R-1:~$
23:54:35 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:54:35 test_sonic.run_scenario L0130 INFO | nodes: R-2
23:54:35 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-2
node name:
R-2
23:54:35 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:22 2026 from 10.250.0.1
admin@R-2:~$
23:54:35 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:54:35 test_sonic.run_scenario L0130 INFO | nodes: R-3
23:54:35 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-3
node name:
R-3
23:54:35 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:22 2026 from 10.250.0.1
admin@R-3:~$
23:54:35 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:54:35 test_sonic.run_scenario L0130 INFO | nodes: R-4
23:54:35 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-4
node name:
R-4
23:54:35 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:25 2026 from 10.250.0.1
admin@R-4:~$
23:54:35 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:54:35 test_sonic.run_scenario L0130 INFO | nodes: R-5
23:54:35 test_sonic.run_scenario L0138 INFO | step 1)
Hostname:
R-5
node name:
R-5
23:54:35 test_sonic.run_scenario L0139 INFO | step 2)
ssh_prompt:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:11:28 2026 from 10.250.0.1
admin@R-5:~$
23:54:35 test_sonic.run_scenario L0144 INFO | step 3)
pass
23:54:35 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Assign IP Address
23:54:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-1
23:54:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 21.1.1.2/24'}, {'command': 'sudo config interface ip add Ethernet4 30.1.1.2/24'}, {'command': 'sudo config interface ip add Ethernet8 20.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], [], []]
sub scenario not expect values: [[], [], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:54:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:54:43 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:54:35 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:54:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:54:35 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:54:50 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:54:43 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:54:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:54:43 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:54:58 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:54:50 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:54:58 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:54:50 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:54:58 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 21.1.1.2/24'}
expect values: []
not expect values: []
23:55:03 test_sonic.run_scenario L0244 INFO |
execute command result:
23:55:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:55:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 30.1.1.2/24'}
expect values: []
not expect values: []
23:55:09 test_sonic.run_scenario L0244 INFO |
execute command result:
23:55:09 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:09 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:55:09 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet8 20.1.1.2/24'}
expect values: []
not expect values: []
23:55:15 test_sonic.run_scenario L0244 INFO |
execute command result:
23:55:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:55:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-2
23:55:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}, {'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:55:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:55:22 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:55:15 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:55:15 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:55:29 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:55:22 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:55:22 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:55:37 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:55:29 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:55:29 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.4/24'}
expect values: []
not expect values: []
23:55:43 test_sonic.run_scenario L0244 INFO |
execute command result:
23:55:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:55:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 30.1.1.4/24'}
expect values: []
not expect values: []
23:55:48 test_sonic.run_scenario L0244 INFO |
execute command result:
23:55:48 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:48 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:55:48 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-3
23:55:48 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}, {'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:55:48 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:55:56 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:55:47 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:55:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:55:47 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:55:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:56:05 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:55:56 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:55:56 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:56:12 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:56:03 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:56:03 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 20.1.1.3/24'}
expect values: []
not expect values: []
23:56:18 test_sonic.run_scenario L0244 INFO |
execute command result:
23:56:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:56:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 10.0.100.1/24'}
expect values: []
not expect values: []
23:56:24 test_sonic.run_scenario L0244 INFO |
execute command result:
23:56:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:56:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-4
23:56:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}, {'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:56:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:56:31 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:56:23 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:56:23 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:56:39 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:56:30 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:56:30 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:56:46 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:56:38 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:56:38 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:56:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 22.1.1.11/24'}
expect values: []
not expect values: []
23:56:52 test_sonic.run_scenario L0244 INFO |
execute command result:
23:56:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:56:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 50.1.1.2/24'}
expect values: []
not expect values: []
23:56:57 test_sonic.run_scenario L0244 INFO |
execute command result:
23:56:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:56:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:56:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Assign IP Address
node name: R-5
23:56:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}, {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}, {'command': 'sudo config interface ip add Ethernet0 50.1.1.3/24'}, {'command': 'sudo config interface ip add Ethernet4 40.0.100.1/24'}]
sub scenario expect mode: and
sub scenario expect values: [[], [], [], [], []]
sub scenario not expect values: [[], [], [], [], []]
sub scenario retries: 5
sub scenario delay: 1
23:56:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ripd &"'}
expect values: []
not expect values: []
23:57:05 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:56:57 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:57:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:56:57 RIP: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"'}
expect values: []
not expect values: []
23:57:12 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:57:05 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:57:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:57:05 ISIS: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'docker exec -i bgp bash -c "/usr/lib/frr/ospfd &"'}
expect values: []
not expect values: []
23:57:20 test_sonic.run_scenario L0244 INFO |
execute command result:
2026/10/26 23:57:12 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:57:20 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
2026/10/26 23:57:12 OSPF: [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
23:57:20 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet0 50.1.1.3/24'}
expect values: []
not expect values: []
23:57:25 test_sonic.run_scenario L0244 INFO |
execute command result:
23:57:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:57:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:57:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'sudo config interface ip add Ethernet4 40.0.100.1/24'}
expect values: []
not expect values: []
23:57:31 test_sonic.run_scenario L0244 INFO |
execute command result:
23:57:31 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:57:31 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:57:31 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-1
23:57:31 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 30.1.1.4 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 30.1.1.4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:57:31 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 30.1.1.4 -c 3'}
expect values: ['bytes from 30.1.1.4']
not expect values: []
23:57:39 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 30.1.1.4 (30.1.1.4) 56(84) bytes of data.
64 bytes from 30.1.1.4: icmp_seq=1 ttl=64 time=1.78 ms
64 bytes from 30.1.1.4: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 30.1.1.4: icmp_seq=3 ttl=64 time=0.822 ms
--- 30.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.822/1.204/1.777/0.412 ms
23:57:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 30.1.1.4']
23:57:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 30.1.1.4 (30.1.1.4) 56(84) bytes of data.
64 bytes from 30.1.1.4: icmp_seq=1 ttl=64 time=1.78 ms
64 bytes from 30.1.1.4: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 30.1.1.4: icmp_seq=3 ttl=64 time=0.822 ms
--- 30.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.822/1.204/1.777/0.412 ms
23:57:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-1
23:57:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 20.1.1.3 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 20.1.1.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:57:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 20.1.1.3 -c 3'}
expect values: ['bytes from 20.1.1.3']
not expect values: []
23:57:46 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 20.1.1.3 (20.1.1.3) 56(84) bytes of data.
64 bytes from 20.1.1.3: icmp_seq=1 ttl=64 time=1.81 ms
64 bytes from 20.1.1.3: icmp_seq=2 ttl=64 time=0.978 ms
64 bytes from 20.1.1.3: icmp_seq=3 ttl=64 time=0.934 ms
--- 20.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.934/1.240/1.809/0.402 ms
23:57:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 20.1.1.3']
23:57:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 20.1.1.3 (20.1.1.3) 56(84) bytes of data.
64 bytes from 20.1.1.3: icmp_seq=1 ttl=64 time=1.81 ms
64 bytes from 20.1.1.3: icmp_seq=2 ttl=64 time=0.978 ms
64 bytes from 20.1.1.3: icmp_seq=3 ttl=64 time=0.934 ms
--- 20.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.934/1.240/1.809/0.402 ms
23:57:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-2
23:57:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 30.1.1.2 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 30.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:57:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 30.1.1.2 -c 3'}
expect values: ['bytes from 30.1.1.2']
not expect values: []
23:57:54 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 30.1.1.2 (30.1.1.2) 56(84) bytes of data.
64 bytes from 30.1.1.2: icmp_seq=1 ttl=64 time=0.692 ms
64 bytes from 30.1.1.2: icmp_seq=2 ttl=64 time=0.801 ms
64 bytes from 30.1.1.2: icmp_seq=3 ttl=64 time=0.934 ms
--- 30.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2014ms
rtt min/avg/max/mdev = 0.692/0.809/0.934/0.098 ms
23:57:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 30.1.1.2']
23:57:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 30.1.1.2 (30.1.1.2) 56(84) bytes of data.
64 bytes from 30.1.1.2: icmp_seq=1 ttl=64 time=0.692 ms
64 bytes from 30.1.1.2: icmp_seq=2 ttl=64 time=0.801 ms
64 bytes from 30.1.1.2: icmp_seq=3 ttl=64 time=0.934 ms
--- 30.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2014ms
rtt min/avg/max/mdev = 0.692/0.809/0.934/0.098 ms
23:57:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-3
23:57:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 20.1.1.2 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 20.1.1.2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:57:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 20.1.1.2 -c 3'}
expect values: ['bytes from 20.1.1.2']
not expect values: []
23:58:01 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 20.1.1.2 (20.1.1.2) 56(84) bytes of data.
64 bytes from 20.1.1.2: icmp_seq=1 ttl=64 time=0.671 ms
64 bytes from 20.1.1.2: icmp_seq=2 ttl=64 time=1.11 ms
64 bytes from 20.1.1.2: icmp_seq=3 ttl=64 time=1.04 ms
--- 20.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2028ms
rtt min/avg/max/mdev = 0.671/0.941/1.111/0.193 ms
23:58:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 20.1.1.2']
23:58:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 20.1.1.2 (20.1.1.2) 56(84) bytes of data.
64 bytes from 20.1.1.2: icmp_seq=1 ttl=64 time=0.671 ms
64 bytes from 20.1.1.2: icmp_seq=2 ttl=64 time=1.11 ms
64 bytes from 20.1.1.2: icmp_seq=3 ttl=64 time=1.04 ms
--- 20.1.1.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2028ms
rtt min/avg/max/mdev = 0.671/0.941/1.111/0.193 ms
23:58:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-4
23:58:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 22.1.1.4 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 22.1.1.4']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 22.1.1.4 -c 3'}
expect values: ['bytes from 22.1.1.4']
not expect values: []
23:58:08 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 22.1.1.4 (22.1.1.4) 56(84) bytes of data.
64 bytes from 22.1.1.4: icmp_seq=1 ttl=64 time=1.38 ms
64 bytes from 22.1.1.4: icmp_seq=2 ttl=64 time=1.22 ms
64 bytes from 22.1.1.4: icmp_seq=3 ttl=64 time=0.972 ms
--- 22.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.972/1.188/1.376/0.166 ms
23:58:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 22.1.1.4']
23:58:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 22.1.1.4 (22.1.1.4) 56(84) bytes of data.
64 bytes from 22.1.1.4: icmp_seq=1 ttl=64 time=1.38 ms
64 bytes from 22.1.1.4: icmp_seq=2 ttl=64 time=1.22 ms
64 bytes from 22.1.1.4: icmp_seq=3 ttl=64 time=0.972 ms
--- 22.1.1.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.972/1.188/1.376/0.166 ms
23:58:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: ping test
node name: R-4
23:58:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 50.1.1.3 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['bytes from 50.1.1.3']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 50.1.1.3 -c 3'}
expect values: ['bytes from 50.1.1.3']
not expect values: []
23:58:16 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 50.1.1.3 (50.1.1.3) 56(84) bytes of data.
64 bytes from 50.1.1.3: icmp_seq=1 ttl=64 time=1.86 ms
64 bytes from 50.1.1.3: icmp_seq=2 ttl=64 time=1.06 ms
64 bytes from 50.1.1.3: icmp_seq=3 ttl=64 time=0.897 ms
--- 50.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.897/1.271/1.860/0.421 ms
23:58:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['bytes from 50.1.1.3']
23:58:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 50.1.1.3 (50.1.1.3) 56(84) bytes of data.
64 bytes from 50.1.1.3: icmp_seq=1 ttl=64 time=1.86 ms
64 bytes from 50.1.1.3: icmp_seq=2 ttl=64 time=1.06 ms
64 bytes from 50.1.1.3: icmp_seq=3 ttl=64 time=0.897 ms
--- 50.1.1.3 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.897/1.271/1.860/0.421 ms
23:58:16 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Default Network
23:58:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-1
23:58:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:58:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet8
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:58:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-1
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet8
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-3
23:58:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "net 49.0001.1000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-1" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:58:27 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:58:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-3
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-1
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-1
no isis hello padding
exit
!
router isis AREA-1
net 49.0001.1000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-2
23:58:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0001.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:58:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:58:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-2
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0001.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set default network
node name: R-4
23:58:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:58:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "net 49.0002.2000.0000.0002.00" \\\n-c "exit" \\\n-c "interface Ethernet0" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "ip router isis AREA-2" \\\n-c "no isis hello padding" \\\n-c "end" \\\n-c "show running-config"\n'}
expect values: []
not expect values: []
23:58:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:58:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Building configuration...
Current configuration:
!
frr version 10.3
frr defaults traditional
hostname R-4
log syslog informational
log facility local4
zebra nexthop-group keep 1
no zebra nexthop kernel enable
fpm address 127.0.0.1
no fpm use-next-hop-groups
agentx
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
interface Ethernet0
ip router isis AREA-2
no isis hello padding
exit
!
interface Ethernet4
ip router isis AREA-2
no isis hello padding
exit
!
router isis AREA-2
net 49.0002.2000.0000.0002.00
exit
!
ip nht resolve-via-default
!
ipv6 nht resolve-via-default
!
end
23:58:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-1
23:58:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:58:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:58:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:14:11
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:03:28
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:03:28
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:03:40
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:34
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:34
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:11
23:58:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:58:43 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
23:58:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:03
C>*10.250.0.0/24 is directly connected, eth0, 00:14:27
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:03
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:03:44
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:03:44
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:03:56
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:50
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:50
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:27
23:58:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:58:59 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
23:59:15 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:08
C>*10.250.0.0/24 is directly connected, eth0, 00:14:43
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:08
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:04:00
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:04:00
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:12
I>*22.1.1.0/24 [115/20] via 30.1.1.4, Ethernet4, 00:00:13
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:04:06
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:04:06
I>*50.1.1.0/24 [115/30] via 30.1.1.4, Ethernet4, 00:00:08
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:43
23:59:15 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*22.1.1.0/24', 'I>*50.1.1.0/24']
23:59:15 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/20] via 20.1.1.3, Ethernet8, 00:00:08
C>*10.250.0.0/24 is directly connected, eth0, 00:14:43
I 20.1.1.0/24 [115/20] via 20.1.1.3, Ethernet8, inactive 00:00:08
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:04:00
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:04:00
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:04:12
I>*22.1.1.0/24 [115/20] via 30.1.1.4, Ethernet4, 00:00:13
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:04:06
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:04:06
I>*50.1.1.0/24 [115/30] via 30.1.1.4, Ethernet4, 00:00:08
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:43
23:59:15 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-2
23:59:15 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:59:15 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:59:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/30] via 30.1.1.2, Ethernet4, 00:00:19
C>*10.250.0.0/24 is directly connected, eth0, 00:12:58
I>*20.1.1.0/24 [115/20] via 30.1.1.2, Ethernet4, 00:00:19
I 22.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, inactive 00:00:13
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:38
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:33
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:33
I>*50.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, 00:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:58
23:59:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*50.1.1.0/24']
23:59:21 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/30] via 30.1.1.2, Ethernet4, 00:00:19
C>*10.250.0.0/24 is directly connected, eth0, 00:12:58
I>*20.1.1.0/24 [115/20] via 30.1.1.2, Ethernet4, 00:00:19
I 22.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, inactive 00:00:13
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:38
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:03:33
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:33
I>*50.1.1.0/24 [115/20] via 22.1.1.11, Ethernet0, 00:00:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:58
23:59:21 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-3
23:59:21 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:59:21 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']
not expect values: []
23:59:26 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:03:03
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:03:03
C>*10.250.0.0/24 is directly connected, eth0, 00:11:13
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:03:09
I>*22.1.1.0/24 [115/30] via 20.1.1.2, Ethernet0, 00:00:25
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:00:19
I>*50.1.1.0/24 [115/40] via 20.1.1.2, Ethernet0, 00:00:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:11:13
23:59:26 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24', 'I>*30.1.1.0/24', 'I>*50.1.1.0/24']
23:59:26 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:03:03
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:03:03
C>*10.250.0.0/24 is directly connected, eth0, 00:11:13
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:00:19
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:03:09
I>*22.1.1.0/24 [115/30] via 20.1.1.2, Ethernet0, 00:00:25
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:00:19
I>*50.1.1.0/24 [115/40] via 20.1.1.2, Ethernet0, 00:00:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:11:13
23:59:26 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check IP ROUTE
node name: R-4
23:59:26 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
23:59:26 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']
not expect values: []
23:59:32 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/40] via 22.1.1.4, Ethernet0, 00:00:24
C>*10.250.0.0/24 is directly connected, eth0, 00:09:29
I>*20.1.1.0/24 [115/30] via 22.1.1.4, Ethernet0, 00:00:24
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:24
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:02:40
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:24
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:02:35
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:02:35
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:09:29
23:59:32 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24', 'I>*20.1.1.0/24', 'I>*30.1.1.0/24']
23:59:32 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/40] via 22.1.1.4, Ethernet0, 00:00:24
C>*10.250.0.0/24 is directly connected, eth0, 00:09:29
I>*20.1.1.0/24 [115/30] via 22.1.1.4, Ethernet0, 00:00:24
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:24
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:02:40
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:24
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:02:35
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:02:35
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:09:29
23:59:32 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Send ping for network connection test
node name: R-4
23:59:32 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'ping 10.0.100.1 -c 3'}]
sub scenario expect mode: and
sub scenario expect values: [['64 bytes from 10.0.100.1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:59:32 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'ping 10.0.100.1 -c 3'}
expect values: ['64 bytes from 10.0.100.1']
not expect values: []
23:59:39 test_sonic.run_scenario L0244 INFO |
execute command result:
PING 10.0.100.1 (10.0.100.1) 56(84) bytes of data.
64 bytes from 10.0.100.1: icmp_seq=1 ttl=62 time=2.60 ms
64 bytes from 10.0.100.1: icmp_seq=2 ttl=62 time=2.66 ms
64 bytes from 10.0.100.1: icmp_seq=3 ttl=62 time=2.48 ms
--- 10.0.100.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.484/2.580/2.661/0.073 ms
23:59:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['64 bytes from 10.0.100.1']
23:59:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
PING 10.0.100.1 (10.0.100.1) 56(84) bytes of data.
64 bytes from 10.0.100.1: icmp_seq=1 ttl=62 time=2.60 ms
64 bytes from 10.0.100.1: icmp_seq=2 ttl=62 time=2.66 ms
64 bytes from 10.0.100.1: icmp_seq=3 ttl=62 time=2.48 ms
--- 10.0.100.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.484/2.580/2.661/0.073 ms
23:59:39 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Router Level
23:59:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set router level
node name: R-3
23:59:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "is-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:59:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-1" \\\n-c "is-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:59:45 test_sonic.run_scenario L0244 INFO |
execute command result:
23:59:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:59:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:59:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set router level
node name: R-4
23:59:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "is-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:59:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "router isis AREA-2" \\\n-c "is-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
23:59:50 test_sonic.run_scenario L0244 INFO |
execute command result:
23:59:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:59:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
23:59:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-4
23:59:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS Level-2 link-state database']]
sub scenario retries: 5
sub scenario delay: 1
23:59:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['IS-IS Level-2 link-state database']
23:59:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
2000.0000.0001.00-00 91 0x00000002 0xff65 1086 1/0/0
2000.0000.0001.b3-00 51 0x00000001 0x7738 1067 1/0/0
R-4.00-00 * 91 0x00000003 0x0d14 1174 0/0/0
3 LSPs
23:59:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
23:59:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
2000.0000.0001.00-00 91 0x00000002 0xff65 1086 1/0/0
2000.0000.0001.b3-00 51 0x00000001 0x7738 1067 1/0/0
R-4.00-00 * 91 0x00000003 0x0d14 1174 0/0/0
3 LSPs
23:59:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface
node name: R-4
23:59:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface"'}]
sub scenario expect mode: and
sub scenario expect values: [['Up lan L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
23:59:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface"'}
expect values: ['Up lan L1']
not expect values: []
00:00:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface CircId State Type Level
Ethernet0 0xb2 Up lan L1
Ethernet4 0xb3 Up lan L1
00:00:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Up lan L1']
00:00:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface CircId State Type Level
Ethernet0 0xb2 Up lan L1
Ethernet4 0xb3 Up lan L1
00:00:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-4
00:00:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['2000.0000.0001 Ethernet0 1 Up']]
sub scenario not expect values: [['2000.0000.0001 Ethernet0 2 up']]
sub scenario retries: 5
sub scenario delay: 1
00:00:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['2000.0000.0001 Ethernet0 1 Up']
not expect values: ['2000.0000.0001 Ethernet0 2 up']
00:00:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0001 Ethernet0 1 Up 30 2250.f292.84b6
00:00:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['2000.0000.0001 Ethernet0 1 Up']
00:00:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0001 Ethernet0 1 Up 30 2250.f292.84b6
00:00:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis summary
node name: R-4
00:00:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis summary"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Level-2:']]
sub scenario retries: 5
sub scenario delay: 1
00:00:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis summary"'}
expect values: []
not expect values: ['Level-2:']
00:00:12 test_sonic.run_scenario L0244 INFO |
execute command result:
vrf : default
Process Id : 170
System Id : 2000.0000.0002
Up time : 00:01:35 ago
Number of areas : 1
Area AREA-2:
Net: 49.0002.2000.0000.0002.00
TX counters per PDU type:
L1 IIH: 69
L2 IIH: 53
L1 LSP: 3
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 35
L2 IIH: 34
L1 LSP: 3
L2 LSP: 9
L1 CSNP: 10
L2 CSNP: 10
Drop counters per PDU type:
L2 IIH: 7
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 3
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:22 ago
last run duration : 49 usec
run count : 6
00:00:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
vrf : default
Process Id : 170
System Id : 2000.0000.0002
Up time : 00:01:35 ago
Number of areas : 1
Area AREA-2:
Net: 49.0002.2000.0000.0002.00
TX counters per PDU type:
L1 IIH: 69
L2 IIH: 53
L1 LSP: 3
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 35
L2 IIH: 34
L1 LSP: 3
L2 LSP: 9
L1 CSNP: 10
L2 CSNP: 10
Drop counters per PDU type:
L2 IIH: 7
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 3
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:22 ago
last run duration : 49 usec
run count : 6
00:00:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-4
00:00:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS paths to level-2 routers that speak IP']]
sub scenario retries: 10
sub scenario delay: 10
00:00:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['IS-IS paths to level-2 routers that speak IP']
00:00:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------------
R-4
22.1.1.0/24 IP internal 0 R-4(4)
50.1.1.0/24 IP internal 0 R-4(4)
2000.0000.0001 TE-IS 10 2000.0000.0001 Ethernet0 R-4(4)
0.0.0.0/0 IP internal 10 2000.0000.0001 Ethernet0 R-4(4)
2000.0000.0001(4)
2000.0000.0001 pseudo_TE-IS 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
22.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
30.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
00:00:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------------------------
R-4
22.1.1.0/24 IP internal 0 R-4(4)
50.1.1.0/24 IP internal 0 R-4(4)
2000.0000.0001 TE-IS 10 2000.0000.0001 Ethernet0 R-4(4)
0.0.0.0/0 IP internal 10 2000.0000.0001 Ethernet0 R-4(4)
2000.0000.0001(4)
2000.0000.0001 pseudo_TE-IS 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
22.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
30.1.1.0/24 IP TE 20 2000.0000.0001 Ethernet0 2000.0000.0001(4)
00:00:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-4
00:00:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*20.1.1.0/24', 'I>*10.0.100.0/24']]
sub scenario retries: 5
sub scenario delay: 1
00:00:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*20.1.1.0/24', 'I>*10.0.100.0/24']
00:00:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 22.1.1.4, Ethernet0, 00:00:33
C>*10.250.0.0/24 is directly connected, eth0, 00:10:20
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:33
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:31
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:33
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:03:26
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:10:20
00:00:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:23 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 22.1.1.4, Ethernet0, 00:00:33
C>*10.250.0.0/24 is directly connected, eth0, 00:10:20
I 22.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, inactive 00:00:33
C>*22.1.1.0/24 is directly connected, Ethernet0, 00:03:31
I>*30.1.1.0/24 [115/20] via 22.1.1.4, Ethernet0, 00:00:33
C>*50.1.1.0/24 is directly connected, Ethernet4, 00:03:26
K 50.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:03:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:10:20
00:00:23 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-3
00:00:23 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS Level-2 link-state database']]
sub scenario retries: 5
sub scenario delay: 1
00:00:23 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['IS-IS Level-2 link-state database']
00:00:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000003 0x8efd 1178 1/0/0
R-1.b5-00 51 0x00000001 0x09d4 1037 1/0/0
R-3.00-00 * 91 0x00000004 0x2837 1179 0/0/0
3 LSPs
00:00:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000003 0x8efd 1178 1/0/0
R-1.b5-00 51 0x00000001 0x09d4 1037 1/0/0
R-3.00-00 * 91 0x00000004 0x2837 1179 0/0/0
3 LSPs
00:00:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface
node name: R-3
00:00:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface"'}]
sub scenario expect mode: and
sub scenario expect values: [['Up lan L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:00:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface"'}
expect values: ['Up lan L1']
not expect values: []
00:00:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface CircId State Type Level
Ethernet4 0xb3 Up lan L1
Ethernet0 0xb2 Up lan L1
00:00:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Up lan L1']
00:00:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface CircId State Type Level
Ethernet4 0xb3 Up lan L1
Ethernet0 0xb2 Up lan L1
00:00:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
00:00:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-1 Ethernet4 2 up']]
sub scenario retries: 5
sub scenario delay: 1
00:00:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-1 Ethernet4 2 up']
00:00:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
00:00:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
00:00:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis summary
node name: R-3
00:00:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis summary"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['Level-2:']]
sub scenario retries: 5
sub scenario delay: 1
00:00:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis summary"'}
expect values: []
not expect values: ['Level-2:']
00:00:45 test_sonic.run_scenario L0244 INFO |
execute command result:
vrf : default
Process Id : 169
System Id : 1000.0000.0002
Up time : 00:02:18 ago
Number of areas : 1
Area AREA-1:
Net: 49.0001.1000.0000.0002.00
TX counters per PDU type:
L1 IIH: 99
L2 IIH: 57
L1 LSP: 4
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 50
L2 IIH: 51
L1 LSP: 4
L2 LSP: 9
L1 CSNP: 15
L2 CSNP: 11
Drop counters per PDU type:
L2 IIH: 22
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 4
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:30 ago
last run duration : 403 usec
run count : 8
00:00:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
vrf : default
Process Id : 169
System Id : 1000.0000.0002
Up time : 00:02:18 ago
Number of areas : 1
Area AREA-1:
Net: 49.0001.1000.0000.0002.00
TX counters per PDU type:
L1 IIH: 99
L2 IIH: 57
L1 LSP: 4
L2 LSP: 2
L1 PSNP: 1
L2 PSNP: 1
LSP RXMT: 0
RX counters per PDU type:
L1 IIH: 50
L2 IIH: 51
L1 LSP: 4
L2 LSP: 9
L1 CSNP: 15
L2 CSNP: 11
Drop counters per PDU type:
L2 IIH: 22
Advertise high metrics: Disabled
Level-1:
LSP0 regenerated: 4
LSPs purged: 0
SPF:
minimum interval : 1
IPv4 route computation:
last run elapsed : 00:00:30 ago
last run duration : 403 usec
run count : 8
00:00:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-3
00:00:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['IS-IS paths to level-2 routers that speak IP']]
sub scenario retries: 10
sub scenario delay: 10
00:00:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['IS-IS paths to level-2 routers that speak IP']
00:00:51 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 20 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
00:00:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 20 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 20 R-1 Ethernet0 R-1(4)
00:00:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-3
00:00:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*22.1.1.0/24', 'I>*50.1.1.0/24']]
sub scenario retries: 5
sub scenario delay: 1
00:00:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*22.1.1.0/24', 'I>*50.1.1.0/24']
00:00:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:01:12
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:04:33
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:04:33
C>*10.250.0.0/24 is directly connected, eth0, 00:12:43
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:01:12
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:04:39
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:01:12
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:43
00:00:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:00:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:01:12
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:04:33
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:04:33
C>*10.250.0.0/24 is directly connected, eth0, 00:12:43
I 20.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, inactive 00:01:12
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:04:39
I>*30.1.1.0/24 [115/20] via 20.1.1.2, Ethernet0, 00:01:12
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:12:43
00:00:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-1
00:00:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['ROUTER-D']]
sub scenario retries: 5
sub scenario delay: 1
00:00:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: []
not expect values: ['ROUTER-D']
00:01:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x8efd 1146 1/0/0
R-1.b5-00 * 51 0x00000001 0x09d4 1005 1/0/0
R-3.00-00 91 0x00000004 0x2837 1146 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x5332 1102 0/0/0
R-1.b5-00 * 27 0x00000001 0x3005 (1152) 0/0/0
R-3.00-00 91 0x00000002 0x2e31 1026 0/0/0
R-2.00-00 91 0x00000003 0x1b50 1149 0/0/0
R-2.b3-00 27 0x00000001 0x6db9 (17) 0/0/0
R-2.b4-00 51 0x00000001 0x6364 1026 0/0/0
R-4.00-00 91 0x00000002 0x110f 1028 0/0/0
7 LSPs
00:01:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x8efd 1146 1/0/0
R-1.b5-00 * 51 0x00000001 0x09d4 1005 1/0/0
R-3.00-00 91 0x00000004 0x2837 1146 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x00000003 0x5332 1102 0/0/0
R-1.b5-00 * 27 0x00000001 0x3005 (1152) 0/0/0
R-3.00-00 91 0x00000002 0x2e31 1026 0/0/0
R-2.00-00 91 0x00000003 0x1b50 1149 0/0/0
R-2.b3-00 27 0x00000001 0x6db9 (17) 0/0/0
R-2.b4-00 51 0x00000001 0x6364 1026 0/0/0
R-4.00-00 91 0x00000002 0x110f 1028 0/0/0
7 LSPs
00:01:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:01:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3 Ethernet8 2 Up']]
sub scenario retries: 5
sub scenario delay: 10
00:01:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-3 Ethernet8 2 Up']
00:01:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
00:01:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
00:01:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
00:01:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-4 Ethernet0 2 Up']]
sub scenario retries: 5
sub scenario delay: 10
00:01:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-4 Ethernet0 2 Up']
00:01:13 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
00:01:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
R-4 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
00:01:13 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Level
00:01:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit level
node name: R-1
00:01:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis circuit-type level-1" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis circuit-type level-1" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:01:18 test_sonic.run_scenario L0244 INFO |
execute command result:
00:01:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:18 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:01:18 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit level
node name: R-2
00:01:18 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis circuit-type level-1" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:18 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis circuit-type level-1" \\\n-c "exit" \\\n-c "interface Ethernet4" \\\n-c "isis circuit-type level-2-only" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:01:24 test_sonic.run_scenario L0244 INFO |
execute command result:
00:01:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:01:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet0
node name: R-2
00:01:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet0"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:01:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet0"'}
expect values: ['Level: L1']
not expect values: []
00:01:29 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface: Ethernet0, State: Up, Active, Circuit Id: 0xb3
Type: lan, Level: L1, SNPA: 2250.f292.84b6
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
22.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
00:01:29 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L1']
00:01:29 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface: Ethernet0, State: Up, Active, Circuit Id: 0xb3
Type: lan, Level: L1, SNPA: 2250.f292.84b6
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
22.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
00:01:29 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-2
00:01:29 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:01:29 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Level: L2']
not expect values: []
00:01:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 2250.f292.84b6
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
30.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
00:01:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L2']
00:01:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 2250.f292.84b6
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
30.1.1.4/24
IPv6 Link-Locals:
fe80::2050:f2ff:fe92:84b6/64
00:01:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-1
00:01:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L2']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Level: L2']
not expect values: []
00:01:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L2']
00:01:40 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:40 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet8
node name: R-1
00:01:40 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet8"'}]
sub scenario expect mode: and
sub scenario expect values: [['Level: L1']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:40 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet8"'}
expect values: ['Level: L1']
not expect values: []
00:01:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0xb5
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Level: L1']
00:01:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0xb5
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 10, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:45 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Metric
00:01:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit metric
node name: R-1
00:01:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis metric 222" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis metric 111" \\\n-c "end" \\\n-c "clear isis neighbor" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:01:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis metric 222" \\\n-c "exit" \\\n-c "interface Ethernet8" \\\n-c "isis metric 111" \\\n-c "end" \\\n-c "clear isis neighbor" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:01:51 test_sonic.run_scenario L0244 INFO |
execute command result:
00:01:51 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:01:51 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:01:51 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet4
node name: R-1
00:01:51 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['Metric: 222']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:51 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['Metric: 222']
not expect values: []
00:01:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Metric: 222']
00:01:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is not DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:01:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis interface Ethernet8
node name: R-1
00:01:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet8"'}]
sub scenario expect mode: and
sub scenario expect values: [['Metric: 111']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:01:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet8"'}
expect values: ['Metric: 111']
not expect values: []
00:02:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0xb5
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 111, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:02:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Metric: 111']
00:02:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet8, State: Up, Active, Circuit Id: 0xb5
Type: lan, Level: L1, SNPA: 223f.2c8b.31ee
Level-1 Information:
Metric: 111, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 64, is DIS
IP Prefix(es):
20.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:02:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:02:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
not expect values: []
00:02:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
00:02:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
00:02:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
00:02:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:02:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['20.1.1.0/24 IP internal 0 R-1', 'R-3 TE-IS 111 R-3 Ethernet8 R-1', '10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3', '20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3', '30.1.1.0/24 IP internal 0 R-1', 'R-2 TE-IS 222 R-2 Ethernet4 R-1', '22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2', '30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2']
00:02:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:02:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:02:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']
not expect values: []
00:02:28 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:08
C>*10.250.0.0/24 is directly connected, eth0, 00:17:56
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:05
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:07:13
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:07:13
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:07:25
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:08
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:07:19
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:07:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:17:56
00:02:28 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8', 'I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4']
00:02:28 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:08
C>*10.250.0.0/24 is directly connected, eth0, 00:17:56
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:05
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:07:13
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:07:13
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:07:25
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:08
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:07:19
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:07:19
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:17:56
00:02:28 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database detail
node name: R-2
00:02:28 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database detail"'}]
sub scenario expect mode: and
sub scenario expect values: [['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:28 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database detail"'}
expect values: ['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
not expect values: []
00:02:34 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x00000006 0xf769 1131 1/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.b3-00 * 51 0x00000001 0x7738 909 1/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 2000.0000.0002.00 (Metric: 0)
R-4.00-00 91 0x00000004 0x0b15 1021 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xc7ab 1128 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b4 (Metric: 222)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-3.00-00 91 0x00000002 0x2e31 934 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
Extended Reachability: 1000.0000.0001.b5 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
R-2.00-00 * 91 0x00000006 0x1553 1175 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.b4 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.b3-00 * 27 0x00000001 0x6db9 (1065) 0/0/0
R-2.b4-00 * 51 0x00000002 0x6165 1154 0/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
R-4.00-00 91 0x00000002 0x110f 936 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
6 LSPs
00:02:34 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
00:02:34 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x00000006 0xf769 1131 1/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.b3-00 * 51 0x00000001 0x7738 909 1/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 2000.0000.0002.00 (Metric: 0)
R-4.00-00 91 0x00000004 0x0b15 1021 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0xc7ab 1128 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b4 (Metric: 222)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-3.00-00 91 0x00000002 0x2e31 934 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
Extended Reachability: 1000.0000.0001.b5 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
R-2.00-00 * 91 0x00000006 0x1553 1175 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-2
TE Router ID: 30.1.1.4
Router Capability: 30.1.1.4 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 2000.0000.0001.b4 (Metric: 10)
IPv4 Interface Address: 30.1.1.4
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 30.1.1.0/24 (Metric: 10)
R-2.b3-00 * 27 0x00000001 0x6db9 (1065) 0/0/0
R-2.b4-00 * 51 0x00000002 0x6165 1154 0/0/0
Extended Reachability: 2000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
R-4.00-00 91 0x00000002 0x110f 936 0/0/0
Protocols Supported: IPv4
Area Address: 49.0002
Hostname: R-4
TE Router ID: 50.1.1.2
Router Capability: 50.1.1.2 , D:0, S:0
Extended Reachability: 2000.0000.0001.b3 (Metric: 10)
IPv4 Interface Address: 50.1.1.2
Extended IP Reachability: 22.1.1.0/24 (Metric: 10)
Extended IP Reachability: 50.1.1.0/24 (Metric: 10)
6 LSPs
00:02:34 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-2
00:02:34 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:34 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']
not expect values: []
00:02:39 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-4 TE-IS 10 R-4 Ethernet0 R-2(4)
R-2
22.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
50.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-1 TE-IS 10 R-1 Ethernet4 R-2(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1(4)
R-2
30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1(4)
00:02:39 test_sonic.run_scenario L0245 INFO |
expect value in result:
['30.1.1.0/24 IP internal 0 R-2', '20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1']
00:02:39 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-4 TE-IS 10 R-4 Ethernet0 R-2(4)
R-2
22.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
50.1.1.0/24 IP TE 20 R-4 Ethernet0 R-4(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-2
22.1.1.0/24 IP internal 0 R-2(4)
30.1.1.0/24 IP internal 0 R-2(4)
R-1 TE-IS 10 R-1 Ethernet4 R-2(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet4 R-1(4)
R-2
30.1.1.0/24 IP TE 232 R-1 Ethernet4 R-1(4)
00:02:39 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database detail
node name: R-3
00:02:39 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database detail"'}]
sub scenario expect mode: and
sub scenario expect values: [['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:39 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database detail"'}
expect values: ['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
not expect values: []
00:02:45 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0x9950 1128 1/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 1000.0000.0001.b5 (Metric: 111)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-1.b5-00 51 0x00000002 0x07d5 1134 1/0/0
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
R-3.00-00 * 91 0x00000006 0x2439 1130 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 1000.0000.0001.b5 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
3 LSPs
00:02:45 test_sonic.run_scenario L0245 INFO |
expect value in result:
['Extended IP Reachability: 30.1.1.0/24 (Metric: 222)', 'Extended IP Reachability: 20.1.1.0/24 (Metric: 111)']
00:02:45 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x00000006 0x9950 1128 1/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-1
TE Router ID: 30.1.1.2
Router Capability: 30.1.1.2 , D:0, S:0
Extended Reachability: 1000.0000.0001.b5 (Metric: 111)
IPv4 Interface Address: 30.1.1.2
Extended IP Reachability: 30.1.1.0/24 (Metric: 222)
Extended IP Reachability: 20.1.1.0/24 (Metric: 111)
R-1.b5-00 51 0x00000002 0x07d5 1134 1/0/0
Extended Reachability: 1000.0000.0001.00 (Metric: 0)
Extended Reachability: 1000.0000.0002.00 (Metric: 0)
R-3.00-00 * 91 0x00000006 0x2439 1130 0/0/0
Protocols Supported: IPv4
Area Address: 49.0001
Hostname: R-3
TE Router ID: 20.1.1.3
Router Capability: 20.1.1.3 , D:0, S:0
SR Algorithm:
0: SPF
Extended Reachability: 1000.0000.0001.b5 (Metric: 10)
IPv4 Interface Address: 20.1.1.3
Extended IP Reachability: 10.0.100.0/24 (Metric: 10)
Extended IP Reachability: 20.1.1.0/24 (Metric: 10)
3 LSPs
00:02:45 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-3
00:02:45 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:02:45 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']
not expect values: []
00:02:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 121 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1(4)
00:02:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['10.0.100.0/24 IP internal 0 R-3', '20.1.1.0/24 IP internal 0 R-3', '20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1', '30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1']
00:02:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
------------------------------------------------------------------
R-3
10.0.100.0/24 IP internal 0 R-3(4)
20.1.1.0/24 IP internal 0 R-3(4)
R-1 TE-IS 10 R-1 Ethernet0 R-3(4)
0.0.0.0/0 IP internal 10 R-1 Ethernet0 R-3(4)
R-1(4)
R-1 pseudo_TE-IS 121 R-1 Ethernet0 R-1(4)
20.1.1.0/24 IP TE 121 R-1 Ethernet0 R-1(4)
30.1.1.0/24 IP TE 232 R-1 Ethernet0 R-1(4)
00:02:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-3
00:02:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:02:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']
not expect values: []
00:02:56 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:00:34
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:06:32
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:06:32
C>*10.250.0.0/24 is directly connected, eth0, 00:14:42
I 20.1.1.0/24 [115/121] via 20.1.1.2, Ethernet0, inactive 00:00:34
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:06:38
I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0, 00:00:34
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:42
00:02:56 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0']
00:02:56 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*0.0.0.0/0 [115/10] via 20.1.1.2, Ethernet0, 00:00:34
C>*10.0.100.0/24 is directly connected, Ethernet4, 00:06:32
K 10.0.100.0/24 [0/0] is directly connected, Ethernet4, 00:06:32
C>*10.250.0.0/24 is directly connected, eth0, 00:14:42
I 20.1.1.0/24 [115/121] via 20.1.1.2, Ethernet0, inactive 00:00:34
C>*20.1.1.0/24 is directly connected, Ethernet0, 00:06:38
I>*30.1.1.0/24 [115/232] via 20.1.1.2, Ethernet0, 00:00:34
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:14:42
00:02:56 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Authentication - Text
00:02:56 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - text
node name: R-1
00:02:56 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:02:56 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:03:01 test_sonic.run_scenario L0244 INFO |
execute command result:
00:03:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:01 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:03:01 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:03:01 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3 Ethernet8 1 Up']]
sub scenario retries: 10
sub scenario delay: 10
00:03:01 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-3 Ethernet8 1 Up']
00:03:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
R-3 Ethernet8 1 Up 22 222d.fa2d.1f4a
00:03:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
00:03:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 7 222d.fa2d.1f4a
00:03:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:22 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
00:03:37 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
00:03:37 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:37 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 29 2250.f292.84b6
00:03:37 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:03:37 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-3']]
sub scenario retries: 15
sub scenario delay: 95
00:03:37 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['R-3']
00:03:43 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:03:43 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:43 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:03:43 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:03:43 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*10.0.100.0/24']]
sub scenario retries: 10
sub scenario delay: 10
00:03:43 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*10.0.100.0/24']
00:03:49 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:19:17
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:08:34
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:08:34
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:08:46
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:01:29
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:08:40
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:08:40
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:17
00:03:49 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:03:49 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
C>*10.250.0.0/24 is directly connected, eth0, 00:19:17
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:08:34
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:08:34
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:08:46
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:01:29
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:08:40
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:08:40
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:17
00:03:49 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
00:03:49 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: or
sub scenario expect values: [['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 15
00:03:49 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']
not expect values: []
00:03:54 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Initializing 28 223f.2c8b.31ee
00:03:54 test_sonic.run_scenario L0245 INFO |
expect value in result:
['1000.0000.0001 Ethernet0 1 Initializing', 'R-1 Ethernet0 1 Initializing']
00:03:54 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Initializing 28 223f.2c8b.31ee
00:03:54 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - text
node name: R-3
00:03:54 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:03:54 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "isis password clear sonicText" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:04:00 test_sonic.run_scenario L0244 INFO |
execute command result:
00:04:00 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:04:00 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:04:00 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-3
00:04:00 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: or
sub scenario expect values: [['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:04:00 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']
not expect values: []
00:04:05 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
00:04:05 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet0 1 Up', '1000.0000.0001 Ethernet0 1 Up']
00:04:05 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-1 Ethernet0 1 Up 28 223f.2c8b.31ee
00:04:05 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:04:05 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3 Ethernet8 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:05 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-3 Ethernet8 1 Up']
not expect values: []
00:04:11 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 28 222d.fa2d.1f4a
00:04:11 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3 Ethernet8 1 Up']
00:04:11 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 28 222d.fa2d.1f4a
00:04:11 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:04:11 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:11 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-3']
not expect values: []
00:04:16 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:04:16 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3']
00:04:16 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:04:16 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:04:16 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:16 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24']
not expect values: []
00:04:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:21
C>*10.250.0.0/24 is directly connected, eth0, 00:19:50
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:21
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:07
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:09:07
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:19
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:02
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:13
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:09:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:50
00:04:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24']
00:04:22 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:21
C>*10.250.0.0/24 is directly connected, eth0, 00:19:50
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:21
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:07
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:09:07
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:19
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:02
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:13
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:09:13
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:19:50
00:04:22 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Authentication - Text
00:04:22 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - text
node name: R-1
00:04:22 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:04:22 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet8" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:04:27 test_sonic.run_scenario L0244 INFO |
execute command result:
00:04:27 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:04:27 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:04:27 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - text
node name: R-3
00:04:27 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:04:27 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet0" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:04:33 test_sonic.run_scenario L0244 INFO |
execute command result:
00:04:33 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:04:33 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:04:33 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:04:33 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3 Ethernet8 1 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:33 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-3 Ethernet8 1 Up']
not expect values: []
00:04:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 28 222d.fa2d.1f4a
00:04:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3 Ethernet8 1 Up']
00:04:38 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 28 2250.f292.84b6
R-3 Ethernet8 1 Up 28 222d.fa2d.1f4a
00:04:38 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:04:38 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:38 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-3']
not expect values: []
00:04:44 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:04:44 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-3']
00:04:44 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:04:44 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:04:44 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*10.0.100.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:04:44 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*10.0.100.0/24']
not expect values: []
00:04:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:48
C>*10.250.0.0/24 is directly connected, eth0, 00:20:17
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:48
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:34
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:09:34
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:46
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:29
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:40
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:09:40
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:20:17
00:04:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*10.0.100.0/24']
00:04:50 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:00:48
C>*10.250.0.0/24 is directly connected, eth0, 00:20:17
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:48
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:34
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:09:34
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:46
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:29
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:40
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:09:40
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:20:17
00:04:50 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Authentication - MD5
00:04:50 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - md5
node name: R-1
00:04:50 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:04:50 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:04:55 test_sonic.run_scenario L0244 INFO |
execute command result:
00:04:55 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:04:55 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:04:55 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:04:55 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['I>*22.1.1.0/24']]
sub scenario retries: 10
sub scenario delay: 60
00:04:55 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: []
not expect values: ['I>*22.1.1.0/24']
00:05:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:01:00
C>*10.250.0.0/24 is directly connected, eth0, 00:20:29
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:01:00
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:09:46
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:09:46
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:09:58
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:02:41
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:09:52
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:09:52
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:20:29
00:05:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:05:01 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 60 seconds...((1/10 attempts)
00:06:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:02:05
C>*10.250.0.0/24 is directly connected, eth0, 00:21:34
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:42
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:10:51
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:10:51
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:11:03
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:10:57
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:10:57
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:34
00:06:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:06:07 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:02:05
C>*10.250.0.0/24 is directly connected, eth0, 00:21:34
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:42
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:10:51
K 20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:10:51
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:11:03
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:10:57
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:10:57
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:21:34
00:06:07 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:06:07 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-2 Ethernet4 2 Up']]
sub scenario retries: 10
sub scenario delay: 10
00:06:07 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: []
not expect values: ['R-2 Ethernet4 2 Up']
00:06:12 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
00:06:12 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:06:12 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-3 Ethernet8 1 Up 29 222d.fa2d.1f4a
00:06:12 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:06:12 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [['R-2']]
sub scenario retries: 15
sub scenario delay: 95
00:06:12 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: []
not expect values: ['R-2']
00:06:18 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:06:18 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:06:18 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((1/15 attempts)
00:07:58 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:07:58 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:07:58 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((2/15 attempts)
00:09:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:09:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:09:38 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((3/15 attempts)
00:11:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:11:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:11:19 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((4/15 attempts)
00:12:59 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:12:59 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:12:59 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((5/15 attempts)
00:14:40 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:14:40 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:14:40 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((6/15 attempts)
00:16:20 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:16:20 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:16:20 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((7/15 attempts)
00:18:01 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-3 TE-IS 111 R-3 Ethernet8 R-1(4)
0.0.0.0/0 IP internal 111 R-1(4)
R-1
10.0.100.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
20.1.1.0/24 IP TE 121 R-3 Ethernet8 R-3(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:18:01 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:18:01 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((8/15 attempts)
00:19:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:19:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:19:41 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((9/15 attempts)
00:21:22 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-1(4)
R-2 pseudo_TE-IS 232 R-2(4)
22.1.1.0/24 IP TE 232 R-2(4)
30.1.1.0/24 IP TE 232 R-2(4)
00:21:22 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:21:22 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 95 seconds...((10/15 attempts)
00:23:02 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
00:23:02 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:23:02 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
---------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
00:23:02 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
00:23:02 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Initializing']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:02 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Initializing']
not expect values: []
00:23:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 27 2228.73c6.21d2
R-1 Ethernet4 2 Initializing 29 223f.2c8b.31ee
00:23:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Initializing']
00:23:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 27 2228.73c6.21d2
R-1 Ethernet4 2 Initializing 29 223f.2c8b.31ee
00:23:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: set circuit authentication - md5
node name: R-2
00:23:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:23:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis password md5 sonicMd5" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:23:13 test_sonic.run_scenario L0244 INFO |
execute command result:
00:23:13 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:23:13 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:23:13 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
00:23:13 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:13 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Up']
not expect values: []
00:23:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
00:23:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Up']
00:23:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 29 2228.73c6.21d2
R-1 Ethernet4 2 Up 28 223f.2c8b.31ee
00:23:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:23:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-2 Ethernet4 2 Up']
not expect values: []
00:23:24 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 27 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 27 222d.fa2d.1f4a
00:23:24 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2 Ethernet4 2 Up']
00:23:24 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 27 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 27 222d.fa2d.1f4a
00:23:24 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:23:24 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:24 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-2']
not expect values: []
00:23:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:23:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2']
00:23:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:23:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:23:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24']
not expect values: []
00:23:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:19:34
C>*10.250.0.0/24 is directly connected, eth0, 00:39:03
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:28:20
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:28:20
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:28:32
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:20
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:28:26
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:28:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:03
00:23:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24']
00:23:35 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:19:34
C>*10.250.0.0/24 is directly connected, eth0, 00:39:03
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:20
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:28:20
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:28:20
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:28:32
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:20
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:28:26
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:28:26
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:03
00:23:35 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Authentication - MD5
00:23:35 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - md5
node name: R-1
00:23:35 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:23:35 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:23:41 test_sonic.run_scenario L0244 INFO |
execute command result:
00:23:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:23:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:23:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: delete circuit authentication - md5
node name: R-2
00:23:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:23:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis password" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:23:46 test_sonic.run_scenario L0244 INFO |
execute command result:
00:23:46 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:23:46 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:23:46 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-2
00:23:46 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:46 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-1 Ethernet4 2 Up']
not expect values: []
00:23:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
00:23:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1 Ethernet4 2 Up']
00:23:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
System Id Interface L State Holdtime SNPA
2000.0000.0002 Ethernet0 1 Up 28 2228.73c6.21d2
R-1 Ethernet4 2 Up 29 223f.2c8b.31ee
00:23:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor
node name: R-1
00:23:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2 Ethernet4 2 Up']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor"'}
expect values: ['R-2 Ethernet4 2 Up']
not expect values: []
00:23:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 30 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 30 222d.fa2d.1f4a
00:23:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2 Ethernet4 2 Up']
00:23:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
System Id Interface L State Holdtime SNPA
R-2 Ethernet4 2 Up 30 2250.f292.84b6
1000.0000.0002 Ethernet8 1 Up 30 222d.fa2d.1f4a
00:23:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis topology
node name: R-1
00:23:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis topology"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-2']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:23:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis topology"'}
expect values: ['R-2']
not expect values: []
00:24:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:24:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-2']
00:24:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS paths to level-1 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
-----------------------------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
1000.0000.0002 TE-IS 111 1000.0000.0002 Ethernet8 R-1(4)
R-1
10.0.100.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
20.1.1.0/24 IP TE 121 1000.0000.0002 Ethernet8 1000.0000.0002(4)
IS-IS paths to level-2 routers that speak IP
Vertex Type Metric Next-Hop Interface Parent
----------------------------------------------------------------
R-1
30.1.1.0/24 IP internal 0 R-1(4)
20.1.1.0/24 IP internal 0 R-1(4)
R-2 TE-IS 222 R-2 Ethernet4 R-1(4)
R-2 pseudo_TE-IS 232 R-2 Ethernet4 R-2(4)
22.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
30.1.1.0/24 IP TE 232 R-2 Ethernet4 R-2(4)
00:24:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check ip route
node name: R-1
00:24:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'show ip route'}]
sub scenario expect mode: and
sub scenario expect values: [['I>*22.1.1.0/24']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'show ip route'}
expect values: ['I>*22.1.1.0/24']
not expect values: []
00:24:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:20:07
C>*10.250.0.0/24 is directly connected, eth0, 00:39:36
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:53
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:28:53
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:28:53
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:29:05
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:53
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:28:59
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:28:59
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:36
00:24:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['I>*22.1.1.0/24']
00:24:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
I>*10.0.100.0/24 [115/121] via 20.1.1.3, Ethernet8, 00:20:07
C>*10.250.0.0/24 is directly connected, eth0, 00:39:36
I 20.1.1.0/24 [115/121] via 20.1.1.3, Ethernet8, inactive 00:00:53
C>*20.1.1.0/24 is directly connected, Ethernet8, 00:28:53
K *20.1.1.0/24 [0/0] is directly connected, Ethernet8, 00:28:53
C>*21.1.1.0/24 is directly connected, Ethernet0, 00:29:05
I>*22.1.1.0/24 [115/232] via 30.1.1.4, Ethernet4, 00:00:53
C>*30.1.1.0/24 is directly connected, Ethernet4, 00:28:59
K 30.1.1.0/24 [0/0] is directly connected, Ethernet4, 00:28:59
K 240.127.1.0/24 [0/0] is directly connected, docker0, inactive 00:39:36
00:24:08 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Circuit Priority
00:24:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set Interface Priority of R-1 Ethernet4
node name: R-1
00:24:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" -c "interface Ethernet4" -c "isis priority 100" -c "end"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:24:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" -c "interface Ethernet4" -c "isis priority 100" -c "end"'}
expect values: []
not expect values: []
00:24:14 test_sonic.run_scenario L0244 INFO |
execute command result:
00:24:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:24:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:24:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check interface priority of R-1
node name: R-1
00:24:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis interface Ethernet4"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 100, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis interface Ethernet4"'}
expect values: ['LAN Priority: 100, is DIS']
not expect values: []
00:24:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 100, is DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:24:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 100, is DIS']
00:24:19 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
Interface: Ethernet4, State: Up, Active, Circuit Id: 0xb4
Type: lan, Level: L2, SNPA: 223f.2c8b.31ee
Level-2 Information:
Metric: 222, Active neighbors: 1
Hello interval: 3, Holddown count: 10, Padding: no
CNSP interval: 10, PSNP interval: 2
LAN Priority: 100, is DIS
IP Prefix(es):
30.1.1.2/24
IPv6 Link-Locals:
fe80::203f:2cff:fe8b:31ee/64
00:24:19 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
00:24:19 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 100, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:19 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: ['LAN Priority: 100, is DIS']
not expect values: []
00:24:25 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 3, Last: 1m11s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: R-1.b4
LAN Priority: 100, is DIS, DIS flaps: 2, Last: 5s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:25 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 100, is DIS']
00:24:25 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 3, Last: 1m11s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: R-1.b4
LAN Priority: 100, is DIS, DIS flaps: 2, Last: 5s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:25 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
00:24:25 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 64, is not DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:25 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: ['LAN Priority: 64, is not DIS']
not expect values: []
00:24:30 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 1, Last: 1m17s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: 1000.0000.0001.b4
LAN Priority: 64, is not DIS, DIS flaps: 2, Last: 14s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:24:30 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 64, is not DIS']
00:24:30 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 27s
Adjacency flaps: 1, Last: 1m17s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: 1000.0000.0001.b4
LAN Priority: 64, is not DIS, DIS flaps: 2, Last: 14s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:24:30 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Set circuit priority
node name: R-1
00:24:30 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis priority 60" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:24:30 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "isis priority 60" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:24:36 test_sonic.run_scenario L0244 INFO |
execute command result:
00:24:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:24:36 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:24:36 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
00:24:36 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 60, is not DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:36 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: ['LAN Priority: 60, is not DIS']
not expect values: []
00:24:41 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 3, Last: 1m28s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.b4
LAN Priority: 60, is not DIS, DIS flaps: 3, Last: 2s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:41 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 60, is not DIS']
00:24:41 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 3, Last: 1m28s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.b4
LAN Priority: 60, is not DIS, DIS flaps: 3, Last: 2s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:41 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
00:24:41 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [['LAN Priority: 64, is DIS']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:41 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: ['LAN Priority: 64, is DIS']
not expect values: []
00:24:47 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 1, Last: 1m33s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.b4
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 10s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:24:47 test_sonic.run_scenario L0245 INFO |
expect value in result:
['LAN Priority: 64, is DIS']
00:24:47 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 28s
Adjacency flaps: 1, Last: 1m33s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.b4
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 10s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:24:47 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Delete Circuit Priority
00:24:47 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Delete circuit priority
node name: R-1
00:24:47 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis priority" \\\n-c "end"\n'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 5
sub scenario delay: 1
00:24:47 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "config" \\\n-c "interface Ethernet4" \\\n-c "no isis priority" \\\n-c "end"\n'}
expect values: []
not expect values: []
00:24:52 test_sonic.run_scenario L0244 INFO |
execute command result:
00:24:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:24:52 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
00:24:52 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis neighbor R-1
node name: R-2
00:24:52 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-1"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:52 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-1"'}
expect values: []
not expect values: []
00:24:57 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 3, Last: 1m44s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.b4
LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 18s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:57 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:24:57 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
R-1
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 3, Last: 1m44s ago
Circuit type: L2, Speaks: IPv4
SNPA: 223f.2c8b.31ee, LAN id: 2000.0000.0001.b4
LAN Priority: 64, is not DIS, DIS flaps: 3, Last: 18s ago
Area Address(es):
49.0001
IPv4 Address(es):
30.1.1.2
00:24:57 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check circuit priority
node name: R-1
00:24:57 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis neighbor R-2"'}]
sub scenario expect mode: and
sub scenario expect values: [[]]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:24:57 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis neighbor R-2"'}
expect values: []
not expect values: []
00:25:03 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m49s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.b4
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 26s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:25:03 test_sonic.run_scenario L0245 INFO |
expect value in result:
[]
00:25:03 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
R-2
Interface: Ethernet4, Level: 2, State: Up, Expires in 29s
Adjacency flaps: 1, Last: 1m49s ago
Circuit type: L2, Speaks: IPv4
SNPA: 2250.f292.84b6, LAN id: R-2.b4
LAN Priority: 64, is DIS, DIS flaps: 3, Last: 26s ago
Area Address(es):
49.0002
IPv4 Address(es):
30.1.1.4
00:25:03 test_sonic.run_scenario L0108 INFO |
step 1) scenario name:Set Dynamic Hostname
00:25:03 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-2
00:25:03 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:25:03 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1']
not expect values: []
00:25:08 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x0000000b 0xed6e 1168 1/0/0
R-2.b3-00 * 51 0x00000002 0x6d49 398 0/0/0
2000.0000.0002.00-00 91 0x00000005 0x0916 525 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0xb9b2 1122 0/0/0
R-1.b4-00 27 0x00000001 0x37fe (29) 0/0/0
R-2.00-00 * 91 0x0000000b 0x0b58 1124 0/0/0
R-2.b4-00 * 51 0x00000005 0x5b68 1115 0/0/0
4 LSPs
00:25:08 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1']
00:25:08 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-2:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-2.00-00 * 91 0x0000000b 0xed6e 1168 1/0/0
R-2.b3-00 * 51 0x00000002 0x6d49 398 0/0/0
2000.0000.0002.00-00 91 0x00000005 0x0916 525 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0xb9b2 1122 0/0/0
R-1.b4-00 27 0x00000001 0x37fe (29) 0/0/0
R-2.00-00 * 91 0x0000000b 0x0b58 1124 0/0/0
R-2.b4-00 * 51 0x00000005 0x5b68 1115 0/0/0
4 LSPs
00:25:08 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-3
00:25:08 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:25:08 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1']
not expect values: []
00:25:14 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0x8b57 1157 1/0/0
R-1.b5-00 51 0x00000004 0xfae7 802 0/0/0
R-3.00-00 * 91 0x00000009 0x1e3c 745 0/0/0
3 LSPs
00:25:14 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1']
00:25:14 test_sonic.run_scenario L0272 INFO | The expected value is included in the printed result.
output:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 91 0x0000000d 0x8b57 1157 1/0/0
R-1.b5-00 51 0x00000004 0xfae7 802 0/0/0
R-3.00-00 * 91 0x00000009 0x1e3c 745 0/0/0
3 LSPs
00:25:14 test_sonic.run_scenario L0169 INFO |
step 1-1) sub scenario name: Check isis database
node name: R-1
00:25:14 test_sonic.run_scenario L0218 INFO |
step 1-2) sub scenario actions: [{'command': 'vtysh -c "show isis database"'}]
sub scenario expect mode: and
sub scenario expect values: [['R-1', 'R-2', 'R-3']]
sub scenario not expect values: [[]]
sub scenario retries: 10
sub scenario delay: 10
00:25:14 test_sonic.run_scenario L0224 INFO |
step 1-3) act command: {'command': 'vtysh -c "show isis database"'}
expect values: ['R-1', 'R-2', 'R-3']
not expect values: []
00:25:19 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1152 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 796 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 739 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1111 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1158) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1113 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1104 0/0/0
4 LSPs
00:25:19 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:25:19 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((1/10 attempts)
00:25:35 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1136 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 780 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 723 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1095 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1142) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1097 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1088 0/0/0
4 LSPs
00:25:35 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:25:35 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((2/10 attempts)
00:25:50 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1121 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 765 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 708 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1080 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1127) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1082 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1073 0/0/0
4 LSPs
00:25:50 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:25:50 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((3/10 attempts)
00:26:06 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1105 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 749 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 692 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1064 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1111) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1066 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1057 0/0/0
4 LSPs
00:26:06 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:26:06 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((4/10 attempts)
00:26:21 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1090 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 734 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 677 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1049 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1096) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1051 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1042 0/0/0
4 LSPs
00:26:21 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:26:21 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((5/10 attempts)
00:26:36 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1074 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 718 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 661 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1033 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1080) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1035 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1026 0/0/0
4 LSPs
00:26:36 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:26:36 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((6/10 attempts)
00:26:52 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1059 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 703 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 646 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1018 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1065) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1020 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 1011 0/0/0
4 LSPs
00:26:52 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:26:52 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((7/10 attempts)
00:27:07 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1044 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 688 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 631 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 1003 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1050) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 1005 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 996 0/0/0
4 LSPs
00:27:07 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:27:07 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((8/10 attempts)
00:27:23 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1028 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 672 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 615 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 987 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1034) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 989 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 980 0/0/0
4 LSPs
00:27:23 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:27:23 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((9/10 attempts)
00:27:38 test_sonic.run_scenario L0244 INFO |
execute command result:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1013 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 657 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 600 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 972 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1019) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 974 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 965 0/0/0
4 LSPs
00:27:38 test_sonic.run_scenario L0245 INFO |
expect value in result:
['R-1', 'R-2', 'R-3']
00:27:38 test_sonic.run_scenario L0287 INFO | Contidion not met. Retrying in 10 seconds...((10/10 attempts)
00:27:48 test_sonic.run_scenario L0292 ERROR | Test failed after 10 retries for command: vtysh -c "show isis database"
00:27:48 test_sonic.run_scenario L0293 ERROR | Final output was:
Area AREA-1:
IS-IS Level-1 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0x8b57 1013 1/0/0
R-1.b5-00 * 51 0x00000004 0xfae7 657 0/0/0
1000.0000.0002.00-00 91 0x00000009 0x1e3c 600 0/0/0
3 LSPs
IS-IS Level-2 link-state database:
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL
R-1.00-00 * 91 0x0000000d 0xb9b2 972 0/0/0
R-1.b4-00 * 27 0x00000001 0x37fe (1019) 0/0/0
R-2.00-00 91 0x0000000b 0x0b58 974 0/0/0
R-2.b4-00 51 0x00000005 0x5b68 965 0/0/0
4 LSPs
00:27:48 __init__.pytest_runtest_call L0040 ERROR | Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 413, in test_scenario
run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 294, in run_scenario
assert False, error_message
AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
ERROR:root:Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 1788, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_hooks.py", line 513, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 139, in _multicall
raise exception.with_traceback(exception.__traceback__)
File "/usr/local/lib/python3.8/dist-packages/pluggy/_callers.py", line 103, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.8/dist-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 413, in test_scenario
run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
File "/data/NetAutoTestFW/tests/test_sonic/test_sonic.py", line 294, in run_scenario
assert False, error_message
AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
FAILEDINFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario teardown ====================
TEARDOWN F record_property
------------------------------ live log teardown -------------------------------
00:27:48 __init__.loganalyzer L0074 INFO | Starting to analyse on all SONiC Devices
00:27:53 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
00:27:54 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
00:27:54 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
00:27:54 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
00:27:54 parallel.on_terminate L0085 INFO | process analyze_logs-- terminated with exit code None
00:27:54 parallel.parallel_run L0221 INFO | Completed running processes for target "analyze_logs" in 0:00:05.912491 seconds
TEARDOWN F loganalyzer
TEARDOWN M ubuntu_paramiko_ssh
TEARDOWN M sonic_paramiko_ssh00:27:54 config_reload.config_reload L0144 INFO | reloading config_db
00:29:17 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
00:29:17 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:29:21 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
00:29:21 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent', 'snmpd']'
00:29:41 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:29:45 config_reload.config_reload L0144 INFO | reloading config_db
00:31:08 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
00:31:08 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:31:13 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
00:31:13 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
00:31:33 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:31:36 config_reload.config_reload L0144 INFO | reloading config_db
00:33:00 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
00:33:00 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:33:04 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
00:33:04 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
00:33:24 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:33:28 config_reload.config_reload L0144 INFO | reloading config_db
00:34:51 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
00:34:51 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:34:55 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
00:34:55 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
00:35:15 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:35:19 config_reload.config_reload L0144 INFO | reloading config_db
00:36:42 processes_utils.wait_critical_processes L0076 INFO | Wait until all critical processes are healthy in 300 sec
00:36:42 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
00:36:46 processes_utils.get_critical_processes_s L0035 INFO | The status of checking process in container 'snmp' is: False
00:36:46 processes_utils.get_critical_processes_s L0037 INFO | The processes not running in container 'snmp' are: '['snmp-subagent']'
00:37:06 processes_utils._all_critical_processes_ L0045 INFO | Check critical processes status
TEARDOWN M reload_config00:37:20 conftest.setup_trex_daemons L0463 INFO | [Teardown] Test finished. TRex daemon stopped: set()
TEARDOWN M setup_trex_daemons
TEARDOWN M parse_scenario00:37:20 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-1
00:37:21 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-1
00:37:21 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-1
00:37:22 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-2
00:37:23 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-2
00:37:23 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-2
00:37:24 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-3
00:37:25 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-3
00:37:25 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-3
00:37:25 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-4
00:37:26 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-4
00:37:27 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-4
00:37:27 conftest.core_dump_and_config_check L0634 INFO | Dumping Disk and Memory Space informataion after test on R-5
00:37:28 conftest.core_dump_and_config_check L0638 INFO | Collecting core dumps after test on R-5
00:37:28 conftest.core_dump_and_config_check L0656 INFO | Collecting running config after test on R-5
00:37:29 conftest.core_dump_and_config_check L0794 INFO | Core dump and config check passed for test_sonic/test_sonic.py
TEARDOWN M core_dump_and_config_check
TEARDOWN M sanity_check
TEARDOWN S parallel_run_context
TEARDOWN S vmhost
TEARDOWN S tag_test_report
TEARDOWN S record_testsuite_property
TEARDOWN S ubuntus
TEARDOWN S pytestconfig
TEARDOWN S add_mgmt_test_mark
TEARDOWN S duthosts
TEARDOWN S ansible_adhoc
TEARDOWN S enhance_inventory
TEARDOWN S tbinfoDEBUG:tests.conftest:[log_custom_msg] item:
=================================== FAILURES ===================================
________________________________ test_scenario _________________________________
duthosts = [, , , , ]
ubuntus = []
vmhost =
parse_scenario =
record_property = .append_property at 0x7abd43c5bd30>
reload_config = None
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'], ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '])
ubuntu_paramiko_ssh = ([], [])
def test_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonic_paramiko_ssh, ubuntu_paramiko_ssh):
sonicHostname, sonic_ssh_prompt = sonic_paramiko_ssh
ubuntuHostname, ubuntu_ssh_prompt = ubuntu_paramiko_ssh
> run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt)
duthosts = [, , , , ]
parse_scenario =
record_property = .append_property at 0x7abd43c5bd30>
reload_config = None
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_paramiko_ssh = (['R-1', 'R-2', 'R-3', 'R-4', 'R-5'], ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '])
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ubuntuHostname = []
ubuntu_paramiko_ssh = ([], [])
ubuntu_ssh_prompt = []
ubuntus = []
vmhost =
test_sonic/test_sonic.py:413:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
duthosts = [, , , , ]
ubuntus = []
vmhost =
parse_scenario =
record_property = .append_property at 0x7abd43c5bd30>
reload_config = None, sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ubuntuHostname = [], ubuntu_ssh_prompt = []
def run_scenario(duthosts, ubuntus, vmhost, parse_scenario, record_property, reload_config, sonicHostname, sonic_ssh_prompt, ubuntuHostname, ubuntu_ssh_prompt):
duthost = duthosts
ubuntu = ubuntus
server = vmhost
logger.info('test device hostname: {}'.format(duthost.hostname))
logger.info('server hostname: {}'.format(server.hostname))
# Parsing Scenario data
scenario = parse_scenario
logger.info('step 0) scenario_data:\n{}'.format(scenario))
# This Section, parsed data save to variable for test
for keys in scenario:
scenario_name = keys['scenario_name']
logger.info('\nstep 1) scenario name:{}'.format(scenario_name))
record_property("Scenario_name","{}".format(scenario_name))
for tasks in keys['steps']:
sub_scenario_name = tasks['name']
if scenario_name == "Print Topology Image":
topo_img_path = tasks['img_path']
topo_img_name = tasks['img_name']
sum_img_path = topo_img_path + '/' + topo_img_name
start_time = datetime.now().strftime('%H:%M:%S')
assert sum_img_path, record_property("Fail", "Fail")
record_property('Action', sub_scenario_name)
record_property('Session','caller')
record_property('Time Stamp',start_time)
record_property('Pass/Fail','Pass')
record_property('Parameter',topo_img_name)
record_property('Response',sum_img_path)
elif scenario_name == "Session Check":
session_node_name = tasks['node']
logger.info('nodes: {}'.format(session_node_name))
device = sonicHostname + ubuntuHostname
ssh_prompt = sonic_ssh_prompt + ubuntu_ssh_prompt
for dev, ssh in zip(device, ssh_prompt):
if dev == session_node_name:
logger.info('step 1)\nHostname:\n{}\nnode name:\n{}'.format(dev, session_node_name))
logger.info('step 2)\nssh_prompt:\n{}'.format(ssh))
start_time = datetime.now().strftime('%H:%M:%S')
assert dev == session_node_name, record_property("Fail", "Fail")
logger.info('step 3)\n pass')
record_property("Action", sub_scenario_name)
record_property("Session","{}".format(dev))
record_property("Time Stamp",start_time)
record_property("Pass/Fail","Pass")
record_property("Parameter","None")
record_property("Response","{}".format(ssh))
elif 'source' in tasks and 'packet' in tasks:
# Duck-typing: If a step has 'source' and 'packet', it is a Traffic Generation test
logger.info('\nstep 1) Traffic Generation test detected: {}'.format(sub_scenario_name))
start_time = datetime.now().strftime('%H:%M:%S')
execute_traffic_step(tasks, duthost, ubuntu)
# If it successfully returns without assertion failure, we record PASS
record_property("Action", sub_scenario_name)
record_property("Session", tasks['source']['node'])
record_property("Time Stamp", start_time)
record_property("Pass/Fail", "Pass")
record_property("Parameter", "Snappi TRex Traffic ({} pkts)".format(tasks['packet']['tx_packets']))
record_property("Response", "Traffic validation succeeded")
record_property("Judgement", "Success")
else:
node_name = tasks['node']
logger.info('\nstep 1-1) sub scenario name: {}\nnode name: {}'.format(sub_scenario_name, node_name))
if 'template' in tasks:
import yaml
from jinja2 import Template
scenario_path = getattr(parse_scenario, 'scenario_filename', '')
if "bgp/" in scenario_path or "bgp_policy/" in scenario_path:
ip_profile = "bgp_ip"
elif "ospf_routemap_redistribute/" in scenario_path:
ip_profile = "ospf_redist_ip"
else:
ip_profile = "common_ip"
if "vlan/" in scenario_path or "lacp/" in scenario_path or "ip/" in scenario_path:
start_daemons = False
else:
start_daemons = True
try:
with open("/data/NetAutoTestFW/ansible/vsonic_vtb", "r") as f:
vtb = yaml.safe_load(f)
ip_map = vtb['all']['children']['sonic_r']['vars'].get(ip_profile, {})
target_ips = ip_map.get(node_name, [])
except Exception as e:
logger.error(f"Failed to load IP profile from vsonic_vtb: {e}")
target_ips = []
template_path = tasks['template']
with open(f"/data/NetAutoTestFW/{template_path}", "r") as f:
template_content = f.read()
rendered = Template(template_content).render(ip_list=target_ips, start_daemons=start_daemons)
cmds = [cmd.strip() for cmd in rendered.strip().split('\n') if cmd.strip() and not cmd.strip().startswith('#')]
tasks['actions'] = [{'command': cmd} for cmd in cmds]
tasks['expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}
tasks['not_expect'] = {'mode': 'and', 'values': [[] for _ in cmds]}
sub_scenario_actions = tasks['actions']
sub_scenario_expect = tasks.get('expect', {'mode': 'and', 'values': []})
sub_scenario_not_expect = tasks.get('not_expect', {'mode': 'and', 'values': []})
sub_scenario_retries = tasks.get('retries', 5)
sub_scenario_delay = tasks.get('delay', 1)
sub_sce_exp_mode = sub_scenario_expect.get('mode', 'and')
sub_sce_exp_values = sub_scenario_expect.get('values', [])
sub_sce_not_exp_values = sub_scenario_not_expect.get('values', [])
logger.info('\nstep 1-2) sub scenario actions: {}\nsub scenario expect mode: {}\nsub scenario expect values: {}\nsub scenario not expect values: {}\nsub scenario retries: {}\nsub scenario delay: {}'.format(sub_scenario_actions, sub_sce_exp_mode, sub_sce_exp_values, sub_sce_not_exp_values, sub_scenario_retries, sub_scenario_delay))
# This Section, command execute to SONiC Test Device
for dut in duthost:
if node_name == dut.hostname:
for act_command, expect_values, not_expect_values in zip(sub_scenario_actions, sub_sce_exp_values, sub_sce_not_exp_values):
logger.info('\nstep 1-3) act command: {}\nexpect values: {}\nnot expect values: {}'.format(act_command, expect_values, not_expect_values))
single_command = act_command.get('command')
timestamps = datetime.now().strftime('%H:%M:%S')
contain_str = '\n'.join("contain string: {}".format(v) for v in expect_values)
not_contain_str = '\n'.join("not contain string: {}".format(n) for n in not_expect_values)
# trace success function
trace_success = False
output = ""
# This Section, repeat until the output contains the intended value.
for attempt in range(sub_scenario_retries):
execute_cmd = dut.shell(single_command, module_ignore_errors=True)
time.sleep(5)
stdout = execute_cmd.get('stdout', '')
stderr = execute_cmd.get('stderr', '')
output = stdout + '\n' + stderr
nomalized_lines = [' '.join(line.split()) for line in output.splitlines()]
logger.info('\nexecute command result:\n{}'.format(output))
logger.info('\nexpect value in result:\n{}'.format(expect_values))
import re
if 'neighbor' in single_command and 'remote-as' in single_command:
match = re.search(r'neighbor\s+([0-9\.]+)\s+remote-as', single_command)
if match:
neighbor_ip = match.group(1)
logger.info(f"[{node_name}] Auto Ping Verification to neighbor: {neighbor_ip}")
ping_result = dut.shell(f"ping {neighbor_ip} -c 3", module_ignore_errors=True)
logger.info(f"[{node_name}] Ping result:\n{ping_result.get('stdout', '')}")
if ping_result.get('rc', -1) != 0:
logger.warning(f"[{node_name}] Ping failed to {neighbor_ip}")
expect_ok = False
if not expect_values:
expect_ok = True
elif sub_sce_exp_mode == "and":
expect_ok = all(any(val in line for line in nomalized_lines) for val in expect_values)
elif sub_sce_exp_mode == "or":
expect_ok = any(any(val in line for line in nomalized_lines) for val in expect_values)
not_expect_ok = not not_expect_values or all(all(val not in line for line in nomalized_lines) for val in not_expect_values)
condition_met = expect_ok and not_expect_ok
if condition_met:
logger.info('The expected value is included in the printed result.\noutput:\n{}'.format(output))
trace_success = True
if isinstance(output, str) and output.strip():
if not_expect_values == "":
exist_only_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, record_property)
elif not_expect_values != "" and expect_values == "":
exist_only_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, not_contain_str, record_property)
elif not_expect_values != "" and expect_values != "":
exist_not_expect_and_expect_values(sub_scenario_name, node_name, timestamps, single_command, output, sub_sce_exp_mode, contain_str, not_contain_str, record_property)
else:
empty_expect_and_not_expect_values(sub_scenario_name, node_name, timestamps, single_command, record_property)
break
else:
logger.info('Contidion not met. Retrying in {} seconds...(({}/{} attempts)'.format(sub_scenario_delay, attempt + 1, sub_scenario_retries))
time.sleep(sub_scenario_delay)
if not trace_success:
# If generated AssertionError when test failed
error_message = "Test failed after {} retries for command: {}".format(sub_scenario_retries, single_command)
logger.error(error_message)
INFO:root:Can not get Allure report URL. Please check logs
logger.error("Final output was:\n{}".format(output))
> assert False, error_message
E AssertionError: Test failed after 10 retries for command: vtysh -c "show isis database"
Template =
act_command = {'command': 'vtysh -c "show isis database"'}
attempt = 9
cmds = ['docker exec -i bgp bash -c "/usr/lib/frr/ripd &"', 'docker exec -i bgp bash -c "/usr/lib/frr/isisd &"', 'docker exec...spfd &"', 'sudo config interface ip add Ethernet0 50.1.1.3/24', 'sudo config interface ip add Ethernet4 40.0.100.1/24']
condition_met = False
contain_str = 'contain string: R-1\ncontain string: R-2\ncontain string: R-3'
dev = 'R-5'
device = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
dut =
duthost = [, , , , ]
duthosts = [, , , , ]
error_message = 'Test failed after 10 retries for command: vtysh -c "show isis database"'
execute_cmd = {'changed': True, 'stdout': 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumb...51 0x00000005 0x5b68 965 0/0/0', ' 4 LSPs'], 'stderr_lines': [], '_ansible_no_log': None, 'failed': False}
expect_ok = False
expect_values = ['R-1', 'R-2', 'R-3']
f = <_io.TextIOWrapper name='/data/NetAutoTestFW/tests/common/templates/common_setup.j2' mode='r' encoding='UTF-8'>
ip_map = {'R-1': [{'intf': 'Ethernet0', 'ip': '21.1.1.2/24'}, {'intf': 'Ethernet4', 'ip': '30.1.1.2/24'}, {'intf': 'Ethernet8',...0.0.100.1/24'}], 'R-4': [{'intf': 'Ethernet0', 'ip': '22.1.1.11/24'}, {'intf': 'Ethernet4', 'ip': '50.1.1.2/24'}], ...}
ip_profile = 'common_ip'
keys = {'scenario_name': 'Set Dynamic Hostname', 'steps': [{'actions': [{'command': 'vtysh -c "show isis database"'}], 'delay...'}], 'delay': 10, 'expect': {'mode': 'and', 'values': [['1000.0000.0001']]}, 'name': 'Check isis database', ...}, ...]}
node_name = 'R-1'
nomalized_lines = ['Area AREA-1:', 'IS-IS Level-1 link-state database:', 'LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL', 'R-1.00-00 ... 1013 1/0/0', 'R-1.b5-00 * 51 0x00000004 0xfae7 657 0/0/0', '1000.0000.0002.00-00 91 0x00000009 0x1e3c 600 0/0/0', ...]
not_contain_str = ''
not_expect_ok = True
not_expect_values = []
output = 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumber Chksum Holdtime ATT/P...0x0000000b 0x0b58 974 0/0/0\nR-2.b4-00 51 0x00000005 0x5b68 965 0/0/0\n 4 LSPs\n'
parse_scenario =
re =
record_property = .append_property at 0x7abd43c5bd30>
reload_config = None
rendered = '\n# Start daemons\ndocker exec -i bgp bash -c "/usr/lib/frr/ripd &"\ndocker exec -i bgp bash -c "/usr/lib/frr/isisd &...et IPs\n\nsudo config interface ip add Ethernet0 50.1.1.3/24\n\nsudo config interface ip add Ethernet4 40.0.100.1/24\n'
scenario =
scenario_name = 'Set Dynamic Hostname'
scenario_path = 'test_sonic/integration_scen/scenario_isis.yaml'
server =
session_node_name = 'R-5'
single_command = 'vtysh -c "show isis database"'
sonicHostname = ['R-1', 'R-2', 'R-3', 'R-4', 'R-5']
sonic_ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
ssh = 'Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___ ...: https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ '
ssh_prompt = ['Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64\r\nYou are on\r\n ____ ___... https://sonic-net.github.io/SONiC/\r\n\r\nLast login: Mon Oct 26 23:11:28 2026 from 10.250.0.1\r\r\nadmin@R-5:~$ ']
start_daemons = True
start_time = '23:54:35'
stderr = ''
stdout = 'Area AREA-1:\nIS-IS Level-1 link-state database:\nLSP ID PduLen SeqNumber Chksum Holdtime ATT/P... 0x0000000b 0x0b58 974 0/0/0\nR-2.b4-00 51 0x00000005 0x5b68 965 0/0/0\n 4 LSPs'
sub_sce_exp_mode = 'and'
sub_sce_exp_values = [['R-1', 'R-2', 'R-3']]
sub_sce_not_exp_values = [[]]
sub_scenario_actions = [{'command': 'vtysh -c "show isis database"'}]
sub_scenario_delay = 10
sub_scenario_expect = {'mode': 'and', 'values': [['R-1', 'R-2', 'R-3']]}
sub_scenario_name = 'Check isis database'
sub_scenario_not_expect = {'values': [[]]}
sub_scenario_retries = 10
sum_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img/topo-L2-L3.jpg'
target_ips = [{'intf': 'Ethernet0', 'ip': '50.1.1.3/24'}, {'intf': 'Ethernet4', 'ip': '40.0.100.1/24'}]
tasks = {'actions': [{'command': 'vtysh -c "show isis database"'}], 'delay': 10, 'expect': {'mode': 'and', 'values': [['R-1', 'R-2', 'R-3']]}, 'name': 'Check isis database', ...}
template_content = '{% if start_daemons %}\n# Start daemons\ndocker exec -i bgp bash -c "/usr/lib/frr/ripd &"\ndocker exec -i bgp bash -c...%}\n\n# Set IPs\n{% for item in ip_list %}\nsudo config interface ip add {{ item.intf }} {{ item.ip }}\n{% endfor %}\n'
template_path = 'tests/common/templates/common_setup.j2'
timestamps = '00:25:14'
topo_img_name = 'topo-L2-L3.jpg'
topo_img_path = '/data/NetAutoTestFW/tests/converter_report/topology_img'
trace_success = False
ubuntu = []
ubuntuHostname = []
ubuntu_ssh_prompt = []
ubuntus = []
vmhost =
vtb = {'all': {'children': {'TGS': {'hosts': {'TG-1': {'ansible_host': '10.250.0.108', 'ansible_password': 'password', 'ansi...': [...], 'R-4': [...], ...}, 'common_ip': {'R-1': [...], 'R-2': [...], 'R-3': [...], 'R-4': [...], ...}, ...}}, ...}}}
yaml =
test_sonic/test_sonic.py:294: AssertionError
---------- generated xml file: /data/NetAutoTestFW/tests/logs/tr.xml -----------
---------------------------- live log sessionfinish ----------------------------
00:37:29 __init__.pytest_terminal_summary L0067 INFO | Can not get Allure report URL. Please check logs
=========================== short test summary info ============================
FAILED test_sonic/test_sonic.py::test_scenario - AssertionError: Test failed ...
======================== 1 failed in 2644.46s (0:44:04) ========================
⚠️ [WARN] Scenario failed on attempt 2/2 (exit code 1): test_sonic/integration_scen/scenario_isis.yaml
❌ [ERROR] Scenario failed after 2 attempts: test_sonic/integration_scen/scenario_isis.yaml
Test finished for test_sonic/integration_scen/scenario_isis.yaml.
Processing test logs. . .
[INFO] Running python script...
[['23:54:35'], ['23:54:35', '23:54:35', '23:54:35', '23:54:35', '23:54:35'], ['23:54:36', '23:54:43', '23:54:50', '23:54:58', '23:55:03', '23:55:09', '23:55:15', '23:55:22', '23:55:29', '23:55:37', '23:55:43', '23:55:48', '23:55:57', '23:56:05', '23:56:12', '23:56:18', '23:56:24', '23:56:31', '23:56:39', '23:56:46', '23:56:52', '23:56:57', '23:57:05', '23:57:12', '23:57:20', '23:57:25', '23:57:31', '23:57:39', '23:57:46', '23:57:54', '23:58:01', '23:58:08'], ['23:58:16', '23:58:21', '23:58:27', '23:58:32', '23:58:38', '23:59:15', '23:59:21', '23:59:26', '23:59:32'], ['23:59:39', '23:59:45', '23:59:50', '23:59:56', '00:00:01', '00:00:07', '00:00:12', '00:00:18', '00:00:23', '00:00:29', '00:00:34', '00:00:40', '00:00:45', '00:00:51', '00:00:56', '00:01:02', '00:01:07'], ['00:01:13', '00:01:18', '00:01:24', '00:01:29', '00:01:34', '00:01:40'], ['00:01:45', '00:01:51', '00:01:56', '00:02:02', '00:02:22', '00:02:28', '00:02:34', '00:02:39', '00:02:45', '00:02:50'], ['00:02:56', '00:03:01', '00:03:37', '00:03:43', '00:03:49', '00:03:54', '00:04:00', '00:04:05', '00:04:11', '00:04:16'], ['00:04:22', '00:04:27', '00:04:33', '00:04:38', '00:04:44'], ['00:04:50', '00:04:55', '00:06:07', '00:06:12', '00:23:02', '00:23:08', '00:23:13', '00:23:19', '00:23:24', '00:23:30'], ['00:23:35', '00:23:41', '00:23:46', '00:23:52', '00:23:57', '00:24:03'], ['00:24:08', '00:24:14', '00:24:19', '00:24:25', '00:24:30', '00:24:36', '00:24:41'], ['00:24:47', '00:24:52', '00:24:57'], ['00:25:03', '00:25:08']]
scenario_isis
val:print topo img
val:session check R-1
val:session check R-2
val:session check R-3
val:session check R-4
val:session check R-5
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:Assign IP Address
val:ping test
val:ping test
val:ping test
val:ping test
val:ping test
val:ping test
val:Set default network
val:Set default network
val:Set default network
val:Set default network
val:Check IP ROUTE
val:Check IP ROUTE
val:Check IP ROUTE
val:Check IP ROUTE
val:Send ping for network connection test
val:set router level
val:set router level
val:Check isis database
val:Check isis interface
val:Check isis neighbor
val:Check isis summary
val:Check isis topology
val:Check ip route
val:Check isis database
val:Check isis interface
val:Check isis neighbor
val:Check isis summary
val:Check isis topology
val:Check ip route
val:Check isis database
val:Check isis neighbor
val:Check isis neighbor
val:set circuit level
val:set circuit level
val:Check isis interface Ethernet0
val:Check isis interface Ethernet4
val:Check isis interface Ethernet4
val:Check isis interface Ethernet8
val:set circuit metric
val:Check isis interface Ethernet4
val:Check isis interface Ethernet8
val:Check isis topology
val:Check ip route
val:Check isis database detail
val:Check isis topology
val:Check isis database detail
val:Check isis topology
val:Check ip route
val:set circuit authentication - text
val:Check isis neighbor
val:Check isis topology
val:Check ip route
val:Check isis neighbor
val:set circuit authentication - text
val:Check isis neighbor
val:Check isis neighbor
val:Check isis topology
val:Check ip route
val:delete circuit authentication - text
val:delete circuit authentication - text
val:Check isis neighbor
val:Check isis topology
val:Check ip route
val:set circuit authentication - md5
val:Check ip route
val:Check isis neighbor
val:Check isis topology
val:Check isis neighbor
val:set circuit authentication - md5
val:Check isis neighbor
val:Check isis neighbor
val:Check isis topology
val:Check ip route
val:delete circuit authentication - md5
val:delete circuit authentication - md5
val:Check isis neighbor
val:Check isis neighbor
val:Check isis topology
val:Check ip route
val:Set Interface Priority of R-1 Ethernet4
val:Check interface priority of R-1
val:Check isis neighbor R-1
val:Check circuit priority
val:Set circuit priority
val:Check isis neighbor R-1
val:Check circuit priority
val:Delete circuit priority
val:Check isis neighbor R-1
val:Check circuit priority
val:Check isis database
val:Check isis database
Saved HTML : converter_report/scenario_dir/scenario_isis.html
✅ Complete convert test report. . .
Waiting 20s before the next scenario...
===========================================================================
Starting Scenario: test_sonic/integration_scen/scenario_ospf.yaml.
===========================================================================
Extracting test device list. . .
R/S Devices: R-1,R-2,R-3,R-4,R-5
H/TG Devices: H-1
Running test command. . . (attempt 1/2)
./run_tests.sh -n etri-sonic-all -d R-1,R-2,R-3,R-4,R-5 -c test_sonic/test_sonic.py -f vtestbed.yaml -i ../ansible/vsonic_vtb -P test_sonic/integration_scen/scenario_ospf.yaml -H H-1
=== Running tests in groups ===
Running: python3 -m pytest test_sonic/test_sonic.py --inventory ../ansible/vsonic_vtb --host-pattern R-1,R-2,R-3,R-4,R-5 --testbed etri-sonic-all --testbed_file vtestbed.yaml --log-cli-level info --log-file-level debug --scenario-filename test_sonic/integration_scen/scenario_ospf.yaml --showlocals --assert plain --show-capture no -rav --ubuntu-host H-1 --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log
ERROR:pytest_ansible.units:No galaxy.yml file found, plugin not activated
DEBUG:tests.common.plugins.conditional_mark:Trying to load test mark conditions files: ['common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml', 'common/plugins/conditional_mark/tests_mark_conditions.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_acl.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml', 'common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml']
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_skip_traffic_test.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_acl.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_drop_packets.yaml
DEBUG:tests.common.plugins.conditional_mark:Loaded test mark conditions file: common/plugins/conditional_mark/tests_mark_conditions_platform_tests.yaml
INFO:tests.common.plugins.conditional_mark:Getting dut basic facts
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-7.4.0, pluggy-1.5.0
ansible: 2.13.13
rootdir: /data/NetAutoTestFW/tests
configfile: pytest.ini
plugins: html-4.1.1, ansible-4.0.0, repeat-0.9.3, stress-1.0.1, forked-1.6.0, xdist-1.28.0, allure-pytest-2.8.22, metadata-3.1.1
----------------------------- live log collection ------------------------------
00:37:51 __init__.load_dut_basic_facts L0143 INFO | Getting dut basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw dut basic facts:
R-1 | SUCCESS => {"ansible_facts": {"dut_basic_facts": {"asic_subtype": "vs","asic_type": "vs","branch": "etri-202505","build_date": "Mon Oct 26 08:10:11 UTC 2026","build_number": 28,"build_version": "etri-202505.28-2c43c63b1","built_by": "jenkins@w2sh","commit_id": "2c43c63b1","debian_version": "12.15","feature_status": {"bgp": "enabled","database": "always_enabled","dhcp_relay": "disabled","eventd": "enabled","gbsyncd": "enabled","gnmi": "enabled","lldp": "enabled","macsec": "disabled","mgmt-framework": "enabled","mux": "always_disabled","nat": "disabled","pmon": "enabled","radv": "enabled","sflow": "disabled","snmp": "enabled","swss": "enabled","syncd": "enabled","teamd": "enabled","telemetry": "enabled","twamp": "enabled"},"hwsku": "Etri-SONiC","is_multi_asic": false,"is_supervisor": false,"kernel_version": "6.1.0","libswsscommon": "1.0.0","num_asic": 1,"platform": "x86_64-kvm_x86_64-r0","release": "202505","secure_boot_image": "no","sonic_os_version": 12,"sonic_utilities": 1.2}},"changed": false}
00:37:52 __init__.load_minigraph_facts L0231 INFO | Getting minigraph basic facts
INFO:tests.common.plugins.conditional_mark:Getting minigraph basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
ERROR:tests.common.plugins.conditional_mark:Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
00:37:53 __init__.load_minigraph_facts L0245 ERROR | Failed to load minigraph basic facts, exception: CalledProcessError(2, ['ansible', '-m', 'minigraph_facts', '-i', '../ansible/vsonic_vtb', 'R-1', '-a', 'host=R-1'])
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
00:37:53 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting switch capabilities basic facts
00:37:54 __init__.load_switch_capabilities_facts L0298 INFO | Getting switch capabilities basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw switch capabilities basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3",
"switch_capabilities": {
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
},
"changed": false
}
INFO:tests.common.plugins.conditional_mark:Getting config basic facts
00:37:55 __init__.load_config_facts L0263 INFO | Getting config basic facts
/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
DEBUG:tests.common.plugins.conditional_mark:raw config basic facts:
R-1 | SUCCESS => {
"ansible_facts": {
"DEVICE_METADATA": {
"localhost": {
"deployment_id": "1",
"hostname": "R-1",
"hwsku": "Etri-SONiC",
"mac": "22:3f:2c:8b:31:ee",
"platform": "x86_64-kvm_x86_64-r0",
"type": "LeafRouter"
}
},
"MGMT_INTERFACE": {
"eth0": {
"10.250.0.51/24": {
"gwaddr": "10.250.0.1"
}
}
},
"MGMT_PORT": {
"eth0": {
"admin_status": "up",
"alias": "eth0"
}
},
"PORT": {
"Ethernet0": {
"admin_status": "up",
"alias": "fortyGigE0/0",
"index": "0",
"lanes": "25,26,27,28",
"speed": "40000"
},
"Ethernet100": {
"admin_status": "up",
"alias": "fortyGigE0/100",
"index": "25",
"lanes": "121,122,123,124",
"speed": "40000"
},
"Ethernet104": {
"admin_status": "up",
"alias": "fortyGigE0/104",
"index": "26",
"lanes": "81,82,83,84",
"speed": "40000"
},
"Ethernet108": {
"admin_status": "up",
"alias": "fortyGigE0/108",
"index": "27",
"lanes": "85,86,87,88",
"speed": "40000"
},
"Ethernet112": {
"admin_status": "up",
"alias": "fortyGigE0/112",
"index": "28",
"lanes": "93,94,95,96",
"speed": "40000"
},
"Ethernet116": {
"admin_status": "up",
"alias": "fortyGigE0/116",
"index": "29",
"lanes": "89,90,91,92",
"speed": "40000"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
"index": "3",
"lanes": "37,38,39,40",
"speed": "40000"
},
"Ethernet120": {
"admin_status": "up",
"alias": "fortyGigE0/120",
"index": "30",
"lanes": "101,102,103,104",
"speed": "40000"
},
"Ethernet124": {
"admin_status": "up",
"alias": "fortyGigE0/124",
"index": "31",
"lanes": "97,98,99,100",
"speed": "40000"
},
"Ethernet16": {
"admin_status": "up",
"alias": "fortyGigE0/16",
"index": "4",
"lanes": "45,46,47,48",
"speed": "40000"
},
"Ethernet20": {
"admin_status": "up",
"alias": "fortyGigE0/20",
"index": "5",
"lanes": "41,42,43,44",
"speed": "40000"
},
"Ethernet24": {
"admin_status": "up",
"alias": "fortyGigE0/24",
"index": "6",
"lanes": "1,2,3,4",
"speed": "40000"
},
"Ethernet28": {
"admin_status": "up",
"alias": "fortyGigE0/28",
"index": "7",
"lanes": "5,6,7,8",
"speed": "40000"
},
"Ethernet32": {
"admin_status": "up",
"alias": "fortyGigE0/32",
"index": "8",
"lanes": "13,14,15,16",
"speed": "40000"
},
"Ethernet36": {
"admin_status": "up",
"alias": "fortyGigE0/36",
"index": "9",
"lanes": "9,10,11,12",
"speed": "40000"
},
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"index": "1",
"lanes": "29,30,31,32",
"speed": "40000"
},
"Ethernet40": {
"admin_status": "up",
"alias": "fortyGigE0/40",
"index": "10",
"lanes": "17,18,19,20",
"speed": "40000"
},
"Ethernet44": {
"admin_status": "up",
"alias": "fortyGigE0/44",
"index": "11",
"lanes": "21,22,23,24",
"speed": "40000"
},
"Ethernet48": {
"admin_status": "up",
"alias": "fortyGigE0/48",
"index": "12",
"lanes": "53,54,55,56",
"speed": "40000"
},
"Ethernet52": {
"admin_status": "up",
"alias": "fortyGigE0/52",
"index": "13",
"lanes": "49,50,51,52",
"speed": "40000"
},
"Ethernet56": {
"admin_status": "up",
"alias": "fortyGigE0/56",
"index": "14",
"lanes": "57,58,59,60",
"speed": "40000"
},
"Ethernet60": {
"admin_status": "up",
"alias": "fortyGigE0/60",
"index": "15",
"lanes": "61,62,63,64",
"speed": "40000"
},
"Ethernet64": {
"admin_status": "up",
"alias": "fortyGigE0/64",
"index": "16",
"lanes": "69,70,71,72",
"speed": "40000"
},
"Ethernet68": {
"admin_status": "up",
"alias": "fortyGigE0/68",
"index": "17",
"lanes": "65,66,67,68",
"speed": "40000"
},
"Ethernet72": {
"admin_status": "up",
"alias": "fortyGigE0/72",
"index": "18",
"lanes": "73,74,75,76",
"speed": "40000"
},
"Ethernet76": {
"admin_status": "up",
"alias": "fortyGigE0/76",
"index": "19",
"lanes": "77,78,79,80",
"speed": "40000"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"index": "2",
"lanes": "33,34,35,36",
"speed": "40000"
},
"Ethernet80": {
"admin_status": "up",
"alias": "fortyGigE0/80",
"index": "20",
"lanes": "109,110,111,112",
"speed": "40000"
},
"Ethernet84": {
"admin_status": "up",
"alias": "fortyGigE0/84",
"index": "21",
"lanes": "105,106,107,108",
"speed": "40000"
},
"Ethernet88": {
"admin_status": "up",
"alias": "fortyGigE0/88",
"index": "22",
"lanes": "113,114,115,116",
"speed": "40000"
},
"Ethernet92": {
"admin_status": "up",
"alias": "fortyGigE0/92",
"index": "23",
"lanes": "117,118,119,120",
"speed": "40000"
},
"Ethernet96": {
"admin_status": "up",
"alias": "fortyGigE0/96",
"index": "24",
"lanes": "125,126,127,128",
"speed": "40000"
}
},
"port_alias_to_name_map": {
"fortyGigE0/0": "Ethernet0",
"fortyGigE0/100": "Ethernet100",
"fortyGigE0/104": "Ethernet104",
"fortyGigE0/108": "Ethernet108",
"fortyGigE0/112": "Ethernet112",
"fortyGigE0/116": "Ethernet116",
"fortyGigE0/12": "Ethernet12",
"fortyGigE0/120": "Ethernet120",
"fortyGigE0/124": "Ethernet124",
"fortyGigE0/16": "Ethernet16",
"fortyGigE0/20": "Ethernet20",
"fortyGigE0/24": "Ethernet24",
"fortyGigE0/28": "Ethernet28",
"fortyGigE0/32": "Ethernet32",
"fortyGigE0/36": "Ethernet36",
"fortyGigE0/4": "Ethernet4",
"fortyGigE0/40": "Ethernet40",
"fortyGigE0/44": "Ethernet44",
"fortyGigE0/48": "Ethernet48",
"fortyGigE0/52": "Ethernet52",
"fortyGigE0/56": "Ethernet56",
"fortyGigE0/60": "Ethernet60",
"fortyGigE0/64": "Ethernet64",
"fortyGigE0/68": "Ethernet68",
"fortyGigE0/72": "Ethernet72",
"fortyGigE0/76": "Ethernet76",
"fortyGigE0/8": "Ethernet8",
"fortyGigE0/80": "Ethernet80",
"fortyGigE0/84": "Ethernet84",
"fortyGigE0/88": "Ethernet88",
"fortyGigE0/92": "Ethernet92",
"fortyGigE0/96": "Ethernet96"
},
"port_index_map": {
"Ethernet0": 0,
"Ethernet100": 25,
"Ethernet104": 26,
"Ethernet108": 27,
"Ethernet112": 28,
"Ethernet116": 29,
"Ethernet12": 3,
"Ethernet120": 30,
"Ethernet124": 31,
"Ethernet16": 4,
"Ethernet20": 5,
"Ethernet24": 6,
"Ethernet28": 7,
"Ethernet32": 8,
"Ethernet36": 9,
"Ethernet4": 1,
"Ethernet40": 10,
"Ethernet44": 11,
"Ethernet48": 12,
"Ethernet52": 13,
"Ethernet56": 14,
"Ethernet60": 15,
"Ethernet64": 16,
"Ethernet68": 17,
"Ethernet72": 18,
"Ethernet76": 19,
"Ethernet8": 2,
"Ethernet80": 20,
"Ethernet84": 21,
"Ethernet88": 22,
"Ethernet92": 23,
"Ethernet96": 24
},
"port_name_to_alias_map": {
"Ethernet0": "fortyGigE0/0",
"Ethernet100": "fortyGigE0/100",
"Ethernet104": "fortyGigE0/104",
"Ethernet108": "fortyGigE0/108",
"Ethernet112": "fortyGigE0/112",
"Ethernet116": "fortyGigE0/116",
"Ethernet12": "fortyGigE0/12",
"Ethernet120": "fortyGigE0/120",
"Ethernet124": "fortyGigE0/124",
"Ethernet16": "fortyGigE0/16",
"Ethernet20": "fortyGigE0/20",
"Ethernet24": "fortyGigE0/24",
"Ethernet28": "fortyGigE0/28",
"Ethernet32": "fortyGigE0/32",
"Ethernet36": "fortyGigE0/36",
"Ethernet4": "fortyGigE0/4",
"Ethernet40": "fortyGigE0/40",
"Ethernet44": "fortyGigE0/44",
"Ethernet48": "fortyGigE0/48",
"Ethernet52": "fortyGigE0/52",
"Ethernet56": "fortyGigE0/56",
"Ethernet60": "fortyGigE0/60",
"Ethernet64": "fortyGigE0/64",
"Ethernet68": "fortyGigE0/68",
"Ethernet72": "fortyGigE0/72",
"Ethernet76": "fortyGigE0/76",
"Ethernet8": "fortyGigE0/8",
"Ethernet80": "fortyGigE0/80",
"Ethernet84": "fortyGigE0/84",
"Ethernet88": "fortyGigE0/88",
"Ethernet92": "fortyGigE0/92",
"Ethernet96": "fortyGigE0/96"
}
},
"changed": false
}
00:37:56 __init__.pytest_collection_modifyitems L0607 INFO | Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
INFO:tests.common.plugins.conditional_mark:Available basic facts that can be used in conditional skip:
{
"topo_type": "etri",
"topo_name": "etri",
"testbed": "etri-sonic-all",
"asic_subtype": "vs",
"asic_type": "vs",
"branch": "etri-202505",
"build_date": "Mon Oct 26 08:10:11 UTC 2026",
"build_number": 28,
"build_version": "etri-202505.28-2c43c63b1",
"built_by": "jenkins@w2sh",
"commit_id": "2c43c63b1",
"debian_version": "12.15",
"feature_status": {
"bgp": "enabled",
"database": "always_enabled",
"dhcp_relay": "disabled",
"eventd": "enabled",
"gbsyncd": "enabled",
"gnmi": "enabled",
"lldp": "enabled",
"macsec": "disabled",
"mgmt-framework": "enabled",
"mux": "always_disabled",
"nat": "disabled",
"pmon": "enabled",
"radv": "enabled",
"sflow": "disabled",
"snmp": "enabled",
"swss": "enabled",
"syncd": "enabled",
"teamd": "enabled",
"telemetry": "enabled",
"twamp": "enabled"
},
"hwsku": "Etri-SONiC",
"is_multi_asic": false,
"is_supervisor": false,
"kernel_version": "6.1.0",
"libswsscommon": "1.0.0",
"num_asic": 1,
"platform": "x86_64-kvm_x86_64-r0",
"release": "202505",
"secure_boot_image": "no",
"sonic_os_version": 12,
"sonic_utilities": 1.2,
"asic_gen": "unknown",
"VOQ_INBAND_INTERFACE": {},
"BGP_VOQ_CHASSIS_NEIGHBOR": {},
"INTERFACE": {},
"switch": {
"ACL_ACTION|FLOW_OP": "INT,IOAM,NOP,POSTCARD",
"ACL_ACTION|PACKET_ACTION": "COPY,DROP,FORWARD",
"ASIC_SDK_HEALTH_EVENT": "true",
"ECMP_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"ECMP_HASH_ALGORITHM_CAPABLE": "true",
"ECMP_HASH_CAPABLE": "true",
"HASH|NATIVE_HASH_FIELD_LIST": "SRC_IP,DST_IP,INNER_SRC_IP,INNER_DST_IP,VLAN_ID,IP_PROTOCOL,ETHERTYPE,L4_SRC_PORT,L4_DST_PORT,SRC_MAC,DST_MAC,IN_PORT,INNER_IP_PROTOCOL,INNER_ETHERTYPE,INNER_L4_SRC_PORT,INNER_L4_DST_PORT,INNER_SRC_MAC,INNER_DST_MAC,IPV6_FLOW_LABEL",
"ICMP_OFFLOAD_CAPABLE": "true",
"LAG_HASH_ALGORITHM": "CRC,XOR,RANDOM,CRC_32LO,CRC_32HI,CRC_CCITT,CRC_XOR",
"LAG_HASH_ALGORITHM_CAPABLE": "true",
"LAG_HASH_CAPABLE": "true",
"LAG_TPID_CAPABLE": "true",
"MAX_NEXTHOP_GROUP_COUNT": "512",
"MAX_TWAMP_SESSION_COUNT": "128",
"MIRROR": "true",
"MIRRORV6": "true",
"ORDERED_ECMP_CAPABLE": "true",
"PATH_TRACING_CAPABLE": "true",
"PFC_DLR_INIT_CAPABLE": "true",
"PORT_EGRESS_SAMPLE_CAPABLE": "true",
"PORT_TPID_CAPABLE": "true",
"REG_FATAL_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_NOTICE_ASIC_SDK_HEALTH_CATEGORY": "true",
"REG_WARNING_ASIC_SDK_HEALTH_CATEGORY": "true",
"SWITCH_TRIMMING_CAPABLE": "true",
"SWITCH|NUMBER_OF_TRAFFIC_CLASSES": "16",
"SWITCH|NUMBER_OF_UNICAST_QUEUES": "10",
"SWITCH|PACKET_TRIMMING_DSCP_RESOLUTION_MODE": "DSCP_VALUE,FROM_TC",
"SWITCH|PACKET_TRIMMING_QUEUE_RESOLUTION_MODE": "STATIC,DYNAMIC"
}
}
collected 1 item
test_sonic/test_sonic.py::test_scenario INFO:SectionStartLogger:==================== test_sonic/test_sonic.py::test_scenario setup ====================
-------------------------------- live log setup --------------------------------
00:37:56 __init__.set_default L0053 INFO | Completeness level not set during test execution. Setting to default level: CompletenessLevel.basic
00:37:56 __init__.check_test_completeness L0151 INFO | Test has no defined levels. Continue without test completeness checks
00:37:56 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:37:56 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/etri-sonic-all
00:37:56 facts_cache.write L0121 INFO | [Cache] Cached facts "etri-sonic-all.tbinfo" to /data/NetAutoTestFW/tests/_cache/etri-sonic-all/tbinfo.pickle
00:37:56 conftest.tbinfo L0187 INFO | YCLEE tbinfo: {'conf-name': 'etri-sonic-all', 'group-name': 'etri', 'server': 'server_1', 'vm_base': 'R-1', 'inv_name': 'vsonic_vtb', 'auto_recover': 'False', 'comment': 'Tests virtual switch vm', 'duts': ['R-1', 'R-2', 'R-3', 'R-4', 'R-5', 'R-6', 'SW-1', 'SW-2', 'SW-3', 'SW-4'], 'duts_map': {'R-1': 0, 'R-2': 1, 'R-3': 2, 'R-4': 3, 'R-5': 4, 'R-6': 5, 'SW-1': 6, 'SW-2': 7, 'SW-3': 8, 'SW-4': 9}, 'ubuntus': ['H-1', 'H-2', 'H-3', 'H-4', 'H-5', 'H-6', 'H-7'], 'ubuntus_map': {'H-1': 0, 'H-2': 1, 'H-3': 2, 'H-4': 3, 'H-5': 4, 'H-6': 5, 'H-7': 6}, 'tgs': ['TG-1'], 'tgs_map': {'TG-1': 0}, 'topo': defaultdict(None, {'name': 'etri', 'type': 'etri', 'properties': {'topology': {'links': [{'endpoint': ['R-1:Ethernet0', 'R-6:Ethernet0']}, {'endpoint': ['R-1:Ethernet4', 'R-2:Ethernet4']}, {'endpoint': ['R-1:Ethernet8', 'R-3:Ethernet0']}, {'endpoint': ['R-1:Ethernet12', 'R-2:Ethernet8']}, {'endpoint': ['R-2:Ethernet0', 'R-4:Ethernet0']}, {'endpoint': ['R-2:Ethernet12', 'R-3:Ethernet8', 'R-4:Ethernet8']}, {'endpoint': ['R-3:Ethernet4', 'SW-3:Ethernet12']}, {'endpoint': ['R-6:Ethernet4', 'SW-3:Ethernet16']}, {'endpoint': ['R-4:Ethernet4', 'R-5:Ethernet0']}, {'endpoint': ['R-5:Ethernet4', 'H-5:Eth1']}, {'endpoint': ['SW-2:Ethernet12', 'H-2:Eth1']}, {'endpoint': ['SW-2:Ethernet16', 'H-4:Eth1']}, {'endpoint': ['SW-4:Ethernet8', 'H-6:Eth1']}, {'endpoint': ['SW-4:Ethernet12', 'H-7:Eth1']}, {'endpoint': ['SW-1:Ethernet16', 'H-1:Eth1']}, {'endpoint': ['SW-1:Ethernet20', 'H-3:Eth1']}], 'L2_links': [{'switch': 'SW-1', 'intf': 'Ethernet0', 'send_port': 10000, 'recv_port': 10001}, {'switch': 'SW-1', 'intf': 'Ethernet4', 'send_port': 10002, 'recv_port': 10003}, {'switch': 'SW-1', 'intf': 'Ethernet8', 'send_port': 10004, 'recv_port': 10005}, {'switch': 'SW-1', 'intf': 'Ethernet12', 'send_port': 10006, 'recv_port': 10007}, {'switch': 'SW-2', 'intf': 'Ethernet0', 'send_port': 10008, 'recv_port': 10009}, {'switch': 'SW-2', 'intf': 'Ethernet4', 'send_port': 10005, 'recv_port': 10004}, {'switch': 'SW-2', 'intf': 'Ethernet8', 'send_port': 10010, 'recv_port': 10011}, {'switch': 'SW-3', 'intf': 'Ethernet0', 'send_port': 10001, 'recv_port': 10000}, {'switch': 'SW-3', 'intf': 'Ethernet4', 'send_port': 10003, 'recv_port': 10002}, {'switch': 'SW-3', 'intf': 'Ethernet8', 'send_port': 10009, 'recv_port': 10008}, {'switch': 'SW-4', 'intf': 'Ethernet0', 'send_port': 10007, 'recv_port': 10006}, {'switch': 'SW-4', 'intf': 'Ethernet4', 'send_port': 10011, 'recv_port': 10010}], 'VMs': {'R-1': {'vm_offset': 0}, 'R-2': {'vm_offset': 1}, 'R-3': {'vm_offset': 2}, 'R-4': {'vm_offset': 3}, 'R-5': {'vm_offset': 4}, 'R-6': {'vm_offset': 5}, 'SW-1': {'vm_offset': 6}, 'SW-2': {'vm_offset': 7}, 'SW-3': {'vm_offset': 8}, 'SW-4': {'vm_offset': 9}, 'H-1': {'vm_offset': 10}, 'H-2': {'vm_offset': 11}, 'H-3': {'vm_offset': 12}, 'H-4': {'vm_offset': 13}, 'H-5': {'vm_offset': 14}, 'H-6': {'vm_offset': 15}, 'H-7': {'vm_offset': 16}, 'TG-1': {'vm_offset': 17}}}}, 'ptf_map': defaultdict(, {}), 'ptf_map_disabled': defaultdict(, {}), 'ptf_dut_intf_map': defaultdict(, {})})}
SETUP S tbinfo00:37:56 conftest.enhance_inventory L0124 INFO | Inventory file: ['../ansible/vsonic_vtb']
SETUP S enhance_inventory (fixtures used: tbinfo)
SETUP S ansible_adhoc00:37:56 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:37:59 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:37:59 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-1
00:37:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-1/host_visible_vars.pickle
00:37:59 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-1/basic_facts.pickle
00:37:59 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:00 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.os_version" to /data/NetAutoTestFW/tests/_cache/R-1/os_version.pickle
00:38:00 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.feature_status" to /data/NetAutoTestFW/tests/_cache/R-1/feature_status.pickle
00:38:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-1/sonic_release.pickle
00:38:01 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:01 facts_cache.write L0121 INFO | [Cache] Cached facts "R-1.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-1/kernel_version.pickle
00:38:02 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:04 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:04 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-2
00:38:04 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-2/host_visible_vars.pickle
00:38:05 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-2/basic_facts.pickle
00:38:05 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:05 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.os_version" to /data/NetAutoTestFW/tests/_cache/R-2/os_version.pickle
00:38:05 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:06 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.feature_status" to /data/NetAutoTestFW/tests/_cache/R-2/feature_status.pickle
00:38:06 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:06 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-2/sonic_release.pickle
00:38:06 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:07 facts_cache.write L0121 INFO | [Cache] Cached facts "R-2.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-2/kernel_version.pickle
00:38:07 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:09 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:09 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-3
00:38:09 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-3/host_visible_vars.pickle
00:38:10 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-3/basic_facts.pickle
00:38:10 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:10 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.os_version" to /data/NetAutoTestFW/tests/_cache/R-3/os_version.pickle
00:38:10 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:11 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.feature_status" to /data/NetAutoTestFW/tests/_cache/R-3/feature_status.pickle
00:38:11 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:12 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-3/sonic_release.pickle
00:38:12 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:13 facts_cache.write L0121 INFO | [Cache] Cached facts "R-3.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-3/kernel_version.pickle
00:38:13 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:15 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:15 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-4
00:38:15 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-4/host_visible_vars.pickle
00:38:16 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-4/basic_facts.pickle
00:38:16 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.os_version" to /data/NetAutoTestFW/tests/_cache/R-4/os_version.pickle
00:38:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:17 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.feature_status" to /data/NetAutoTestFW/tests/_cache/R-4/feature_status.pickle
00:38:17 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:18 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-4/sonic_release.pickle
00:38:18 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:18 facts_cache.write L0121 INFO | [Cache] Cached facts "R-4.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-4/kernel_version.pickle
00:38:19 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:21 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:21 facts_cache.write L0115 INFO | [Cache] Create cache dir /data/NetAutoTestFW/tests/_cache/R-5
00:38:21 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.host_visible_vars" to /data/NetAutoTestFW/tests/_cache/R-5/host_visible_vars.pickle
00:38:21 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.basic_facts" to /data/NetAutoTestFW/tests/_cache/R-5/basic_facts.pickle
00:38:21 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:22 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.os_version" to /data/NetAutoTestFW/tests/_cache/R-5/os_version.pickle
00:38:22 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:22 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.feature_status" to /data/NetAutoTestFW/tests/_cache/R-5/feature_status.pickle
00:38:22 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:23 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.sonic_release" to /data/NetAutoTestFW/tests/_cache/R-5/sonic_release.pickle
00:38:23 facts_cache.read L0093 INFO | [Cache] Load cache file "/data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle" failed with exception: FileNotFoundError(2, 'No such file or directory')
00:38:23 facts_cache.write L0121 INFO | [Cache] Cached facts "R-5.kernel_version" to /data/NetAutoTestFW/tests/_cache/R-5/kernel_version.pickle
SETUP S duthosts (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S add_mgmt_test_mark (fixtures used: duthosts)
SETUP S pytestconfig
SETUP S ubuntus (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S record_testsuite_property00:38:25 conftest.tag_test_report L0411 INFO | login_user : ubuntu
conn_type : ssh
mgmt_ipv4 : 10.250.0.101
port : 22
00:38:25 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.51
port : 22
00:38:25 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.52
port : 22
00:38:25 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.53
port : 22
00:38:25 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.54
port : 22
00:38:25 conftest.tag_test_report L0411 INFO | login_user : admin
conn_type : ssh
mgmt_ipv4 : 10.250.0.55
port : 22
SETUP S tag_test_report (fixtures used: duthosts, pytestconfig, record_testsuite_property, tbinfo, ubuntus)
SETUP S vmhost (fixtures used: ansible_adhoc, enhance_inventory, tbinfo)
SETUP S parallel_run_context00:38:25 __init__.sanity_check L0399 INFO | Skip sanity check according to command line argument
SETUP M sanity_check (fixtures used: parallel_run_context)00:38:25 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-1
00:38:26 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-1
00:38:26 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-1
00:38:27 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-2
00:38:28 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-2
00:38:28 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-2
00:38:29 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-3
00:38:29 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-3
00:38:30 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-3
00:38:30 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-4
00:38:31 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-4
00:38:31 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-4
00:38:32 conftest.core_dump_and_config_check L0581 INFO | Dumping Disk and Memory Space informataion before test on R-5
00:38:33 conftest.core_dump_and_config_check L0585 INFO | Collecting core dumps before test on R-5
00:38:33 conftest.core_dump_and_config_check L0594 INFO | Collecting running config before test on R-5
SETUP M core_dump_and_config_check (fixtures used: duthosts, sanity_check, tbinfo)00:38:34 conftest.get_scenario_file L0256 INFO | YCLEE pt_file:
test_sonic/integration_scen/scenario_ospf.yaml
00:38:34 parse_scenario.__init__ L0014 INFO | YCLEE request:
test_sonic/integration_scen/scenario_ospf.yaml
00:38:34 parse_scenario.__init__ L0022 INFO | YCLEE scenario_filename:
test_sonic/integration_scen/scenario_ospf.yaml
00:38:34 conftest.fixture_parse_scenario L0264 INFO | YCLEE protocol:
SETUP M parse_scenario00:38:34 conftest.setup_trex_daemons L0439 INFO | [Setup] Starting the TRex daemon on an Ubuntu device.
SETUP M setup_trex_daemons (fixtures used: parse_scenario, ubuntus)
SETUP M reload_config (fixtures used: duthosts, ubuntus)00:38:44 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture sonic_paramiko_ssh setup starts --------------------
00:38:44 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.51/24': {'gwaddr': '10.250.0.1'}}
00:38:44 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-1
username:admin
password:password
00:38:44 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
00:38:44 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
00:38:44 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:45 transport._log L1873 INFO | Authentication (password) successful!
00:38:45 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-1 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:18 2026 from 10.250.0.1
admin@R-1:~$
00:38:46 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-1
00:38:46 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.52/24': {'gwaddr': '10.250.0.1'}}
00:38:46 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-2
username:admin
password:password
00:38:46 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
00:38:47 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
00:38:47 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:47 transport._log L1873 INFO | Authentication (password) successful!
00:38:47 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-2 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:20 2026 from 10.250.0.1
admin@R-2:~$
00:38:48 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-2
00:38:48 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.53/24': {'gwaddr': '10.250.0.1'}}
00:38:48 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-3
username:admin
password:password
00:38:48 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
00:38:49 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
00:38:49 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:49 transport._log L1873 INFO | Authentication (password) successful!
00:38:49 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-3 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:21 2026 from 10.250.0.1
admin@R-3:~$
00:38:50 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-3
00:38:51 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.54/24': {'gwaddr': '10.250.0.1'}}
00:38:51 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-4
username:admin
password:password
00:38:51 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
00:38:51 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
00:38:51 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:51 transport._log L1873 INFO | Authentication (password) successful!
00:38:51 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
00:38:51 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:24 2026 from 10.250.0.1
00:38:51 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-4 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:24 2026 from 10.250.0.1
admin@R-4:~$
00:38:52 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-4
00:38:53 session.sonic_paramiko_ssh L0025 INFO | mgmt_interface:{'eth0|10.250.0.55/24': {'gwaddr': '10.250.0.1'}}
00:38:53 session.sonic_paramiko_ssh L0026 INFO | duthost hostname:R-5
username:admin
password:password
00:38:53 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_9.2p1)
00:38:53 transport._log L1873 INFO | Auth banner: b'Debian GNU/Linux 12 \\n \\l\n\n'
00:38:53 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:53 transport._log L1873 INFO | Authentication (password) successful!
00:38:53 session.sonic_paramiko_ssh L0046 INFO | output:
Linux R-5 6.1.0-29-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
You are on
____ ___ _ _ _ ____
/ ___| / _ \| \ | (_)/ ___|
\___ \| | | | \| | | |
___) | |_| | |\ | | |___
|____/ \___/|_| \_|_|\____|
-- Software for Open Networking in the Cloud --
Unauthorized access and/or use are prohibited.
All access and/or use are subject to monitoring.
Help: https://sonic-net.github.io/SONiC/
Last login: Mon Oct 26 23:54:26 2026 from 10.250.0.1
admin@R-5:~$
00:38:54 session.sonic_paramiko_ssh L0056 INFO |
hostname: R-5
00:38:54 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture sonic_paramiko_ssh setup ends --------------------
SETUP M sonic_paramiko_ssh (fixtures used: duthosts)00:38:54 __init__._fixture_func_decorator L0069 INFO | -------------------- fixture ubuntu_paramiko_ssh setup starts --------------------
00:38:54 session.ubuntu_paramiko_ssh L0072 INFO |
ubuntu_ip : 10.250.0.101
ubuntu_user : ubuntu
ubuntu_pw : password
00:38:54 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
00:38:55 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:55 transport._log L1873 INFO | Authentication (password) successful!
00:38:55 session.ubuntu_paramiko_ssh L0092 INFO | output:
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-215-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon Oct 26 15:38:55 UTC 2026
System load: 0.0 Processes: 142
Usage of /: 9.0% of 19.20GB Users logged in: 0
Memory usage: 6% IPv4 address for mgmt: 10.250.0.101
Swap usage: 0%
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*** System restart required ***
Last login: Mon Oct 26 13:47:00 2026 from 10.250.0.1
ubuntu@H-1:~$
00:38:56 transport._log L1873 INFO | Connected (version 2.0, client OpenSSH_8.2p1)
00:38:56 transport._log L1873 INFO | Authentication (publickey) failed.
00:38:56 transport._log L1873 INFO | Authentication (password) successful!
00:38:56 __init__._fixture_func_decorator L0076 INFO | -------------------- fixture ubuntu_paramiko_ssh setup ends --------------------
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
SETUP M ubuntu_paramiko_ssh (fixtures used: ubuntus)00:38:58 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-1
00:38:58 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-3
00:38:58 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-4
00:38:58 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-2
00:38:58 __init__.analyzer_logrotate L0023 INFO | logrotate called on R-5
00:39:00 parallel.on_terminate L0085 INFO | process analyzer_logrotate-- |