diff --git a/scripts/fast-reboot-dump.py b/scripts/fast-reboot-dump.py index 7488b8831f..ee86eef575 100644 --- a/scripts/fast-reboot-dump.py +++ b/scripts/fast-reboot-dump.py @@ -15,7 +15,7 @@ ARP_PAD = binascii.unhexlify('00' * 18) def generate_arp_entries(filename, all_available_macs): - db = swsssdk.SonicV2Connector() + db = swsssdk.SonicV2Connector(host='127.0.0.1') db.connect(db.APPL_DB, False) # Make one attempt only arp_output = [] @@ -148,7 +148,7 @@ def get_fdb(db, vlan_name, vlan_id, bridge_id_2_iface): def generate_fdb_entries(filename): fdb_entries = [] - db = swsssdk.SonicV2Connector() + db = swsssdk.SonicV2Connector(host='127.0.0.1') db.connect(db.ASIC_DB, False) # Make one attempt only bridge_id_2_iface = get_map_bridge_port_id_2_iface_name(db) @@ -241,7 +241,7 @@ def get_default_entries(db, route): return obj def generate_default_route_entries(filename): - db = swsssdk.SonicV2Connector() + db = swsssdk.SonicV2Connector(host='127.0.0.1') db.connect(db.APPL_DB, False) # Make one attempt only default_routes_output = []