Disable tunnel qos remap on KVM (#11735)
This commit is contained in:
parent
fc09ae01d4
commit
91b7018910
@ -1459,7 +1459,9 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
|
|||||||
|
|
||||||
# Enable tunnel_qos_remap if downstream_redundancy_types(T1) or redundancy_type(T0) = Gemini/Libra
|
# Enable tunnel_qos_remap if downstream_redundancy_types(T1) or redundancy_type(T0) = Gemini/Libra
|
||||||
enable_tunnel_qos_map = False
|
enable_tunnel_qos_map = False
|
||||||
if results['DEVICE_METADATA']['localhost']['type'].lower() == 'leafrouter' and ('gemini' in str(downstream_redundancy_types).lower() or 'libra' in str(downstream_redundancy_types).lower()):
|
if platform and 'kvm' in platform:
|
||||||
|
enable_tunnel_qos_map = False
|
||||||
|
elif results['DEVICE_METADATA']['localhost']['type'].lower() == 'leafrouter' and ('gemini' in str(downstream_redundancy_types).lower() or 'libra' in str(downstream_redundancy_types).lower()):
|
||||||
enable_tunnel_qos_map = True
|
enable_tunnel_qos_map = True
|
||||||
elif results['DEVICE_METADATA']['localhost']['type'].lower() == 'torrouter' and ('gemini' in str(redundancy_type).lower() or 'libra' in str(redundancy_type).lower()):
|
elif results['DEVICE_METADATA']['localhost']['type'].lower() == 'torrouter' and ('gemini' in str(redundancy_type).lower() or 'libra' in str(redundancy_type).lower()):
|
||||||
enable_tunnel_qos_map = True
|
enable_tunnel_qos_map = True
|
||||||
|
Loading…
Reference in New Issue
Block a user