From a37a77a7dd9b9f39cd57f7d51a85748cf0925d72 Mon Sep 17 00:00:00 2001 From: shlomibitton <60430976+shlomibitton@users.noreply.github.com> Date: Tue, 6 Apr 2021 00:34:41 +0300 Subject: [PATCH] Fix fast-reboot-dump.py SonicV2Connector after late merge (#1546) #### What I did This PR https://github.com/Azure/sonic-utilities/pull/1393 merged after PR: https://github.com/Azure/sonic-utilities/pull/1392 This caused the first PR to be not aligned with SonicV2Connector change. This PR motivation is to fix it. --- scripts/fast-reboot-dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fast-reboot-dump.py b/scripts/fast-reboot-dump.py index 54550fb8bc..79347e1d3f 100644 --- a/scripts/fast-reboot-dump.py +++ b/scripts/fast-reboot-dump.py @@ -190,8 +190,8 @@ def get_fdb(db, vlan_name, vlan_id, bridge_id_2_iface): return fdb_entries, available_macs, map_mac_ip def generate_fdb_entries(filename): - asic_db = swsssdk.SonicV2Connector(host='127.0.0.1') - app_db = swsssdk.SonicV2Connector(host='127.0.0.1') + asic_db = SonicV2Connector(use_unix_socket_path=False) + app_db = SonicV2Connector(use_unix_socket_path=False) asic_db.connect(asic_db.ASIC_DB, False) # Make one attempt only app_db.connect(app_db.APPL_DB, False) # Make one attempt only