diff options
-rw-r--r-- | GPL/traffic_scripts/geneve_tunnel.py | 4 | ||||
-rw-r--r-- | resources/libraries/robot/ip/geneve.robot | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/GPL/traffic_scripts/geneve_tunnel.py b/GPL/traffic_scripts/geneve_tunnel.py index 2fec3b0ac6..3dd40b6a3a 100644 --- a/GPL/traffic_scripts/geneve_tunnel.py +++ b/GPL/traffic_scripts/geneve_tunnel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later # @@ -286,7 +286,7 @@ def main(): check_geneve( rx_pkt_recv, ip_layer, rx_src_mac, rx_dst_mac, geneve_tunnel_mac, - rx_src_mac, tun_local_ip, tun_remote_ip, str(src_ip), str(dst_ip), + rx_dst_mac, tun_local_ip, tun_remote_ip, str(src_ip), str(dst_ip), geneve_udp_dport, int(tun_vni) ) diff --git a/resources/libraries/robot/ip/geneve.robot b/resources/libraries/robot/ip/geneve.robot index c9de91d708..9870639c41 100644 --- a/resources/libraries/robot/ip/geneve.robot +++ b/resources/libraries/robot/ip/geneve.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -57,10 +57,10 @@ | | | VPP Interface Set IP Address | | | ... | ${dut1} | ${tunnel_if_key} | ${if_ip} | 24 | | | VPP Add IP Neighbor -| | | ... | ${dut1} | ${tunnel_if_key} | ${dut1_if2_ip4} | ${DUT1_vf2_mac}[0] +| | | ... | ${dut1} | ${tunnel_if_key} | ${dst_ip} | ${TG_pf2_mac}[0] | | | Vpp Route Add | | | ... | ${dut1} | ${dst_ip} | ${gen_tunnel.ip_mask} -| | | ... | gateway=${dut1_if2_ip4} | interface=${tunnel_if_key} +| | | ... | interface=${tunnel_if_key} | | | Vpp Route Add | | | ... | ${dut1} | ${gen_tunnel.remote} | 32 | | | ... | gateway=${tg_if2_ip4} | interface=${DUT1_${int}2}[0] |