Skip to content

Commit

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

- What I did
It seems like this change is not backported to 202012: #1392
So this PR #1546 Is not required on 202012 branch.
It was cherry-picked to 202012 and now the fast-reboot-dump script is broken.

- How I did it
Revert the commit.

- How to verify it
Run fast-reboot on 202012 branch.
  • Loading branch information
shlomibitton authored Apr 13, 2021
1 parent 9af50fe commit 7216085
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 = SonicV2Connector(use_unix_socket_path=False)
app_db = SonicV2Connector(use_unix_socket_path=False)
asic_db = swsssdk.SonicV2Connector(host='127.0.0.1')
app_db = swsssdk.SonicV2Connector(host='127.0.0.1')
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 7216085

Please sign in to comment.