def f3_t1_5(): res1 = ip.verify_ip_loadshare(leaf3, ip=ecmpv4, ipv6=ecmpv6, seed=data.seed_def) if res1 is False: fail_msg = "ERROR: Step T1 Default show failed on leaf3." st.log(fail_msg) return False return True
def f3_t10_5(): ip.config_ip_loadshare_hash(leaf3, key='ip', val=ecmpv4[1]) ip.config_ip_loadshare_hash(leaf3, key='ipv6', val=ecmpv6[1]) res1 = ip.verify_ip_loadshare(leaf3, ip=ecmpv4, ipv6=ecmpv6, seed=data.seed_def) if res1 is False: fail_msg = "ERROR: Step T10 show failed on leaf3." st.log(fail_msg) return False return True
def f3_t4_5(): ip.config_ip_loadshare_hash(leaf3, key='ip', val=ecmpv4[1], config='no') ip.config_ip_loadshare_hash(leaf3, key='ipv6', val=ecmpv6[1], config='no') res1 = ip.verify_ip_loadshare(leaf3, ip=ecmpv4[1], ipv6=ecmpv6[1]) if res1 is True: fail_msg = "ERROR: Step T4 show failed on leaf3." st.log(fail_msg) return False return True
def f3_t4_2(): ip.config_ip_loadshare_hash(spine2, key='ip', val=ecmpv4[3], config='no') ip.config_ip_loadshare_hash(spine2, key='ipv6', val=ecmpv6[3], config='no') res1 = ip.verify_ip_loadshare(spine2, ip=ecmpv4[3], ipv6=ecmpv6[3]) if res1 is True: fail_msg = "ERROR: Step T4 show failed on spine2." st.log(fail_msg) return False return True