Ignore my recommendation - didn't realize that test was being done within an else block for internal interfaces only. I just added a simple test to get it working for both external/internal:
if (ha.HA_INFO in db_intf):
correct_grp_num = int(db_intf[ha.HA_INFO]['group'])
Ignore my recommendation - didn't realize that test was being done within an else block for internal interfaces only. I just added a simple test to get it working for both external/internal:
if (ha.HA_INFO in db_intf): intf[ha. HA_INFO] ['group' ])
correct_grp_num = int(db_