Skip to content

Commit

Permalink
Fix fast-reboot-dump.py SonicV2Connector after late merge (sonic-net#…
Browse files Browse the repository at this point in the history
…1546)

#### What I did
This PR sonic-net/sonic-utilities#1393 merged after PR: sonic-net/sonic-utilities#1392
This caused the first PR to be not aligned with SonicV2Connector change.
This PR motivation is to fix it.
  • Loading branch information
shlomibitton authored Apr 5, 2021
1 parent 0ce6a25 commit 3f2a296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/fast-reboot-dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3f2a296

Please sign in to comment.