Skip to content

Commit 39a6ad4

Browse files
committed
urgent fix for Hub/Spoke after - Automation Toolkit Release v2025.1.3
1 parent 57866a5 commit 39a6ad4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cd3_automation_toolkit/Network/BaseNetwork/create_major_objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,8 @@ def processVCN(tempStr):
603603
str(df.loc[i, 'CIDR Blocks']).lower() == 'nan' or str(df.loc[i, 'DRG Required']).lower() == 'nan' or str(
604604
df.loc[i, 'IGW Required']).lower() == 'nan' or
605605
str(df.loc[i, 'NGW Required']).lower() == 'nan' or str(
606-
df.loc[i, 'SGW Required']).lower() == 'nan' or str(df.loc[i, 'LPG Required']).lower() == 'nan' or
607-
str(df.loc[i, 'Hub/Spoke/Peer/None']).lower() == 'nan'):
606+
df.loc[i, 'SGW Required']).lower() == 'nan' or str(df.loc[i, 'LPG Required']).lower() == 'nan'):
607+
#or str(df.loc[i, 'Hub/Spoke/Peer/None']).lower() == 'nan'):
608608
print("\nColumn Values(except dns_label) or Rows cannot be left empty in VCNs sheet in CD3..exiting...")
609609
exit(1)
610610

cd3_automation_toolkit/cd3Validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def validate_vcns(filename, comp_ids, vcnobj):# config): # ,vcn_cidrs,vcn_compa
460460
# Check for null values and display appropriate message
461461
for j in dfv.keys():
462462
if (str(dfv[j][i]).strip() == "NaN" or str(dfv[j][i]).strip() == "nan" or str(dfv[j][i]).strip() == ""):
463-
if j == 'DNS Label' or commonTools.check_column_headers(j) in commonTools.tagColumns or "ipv6" in j.lower():
463+
if j == 'DNS Label' or commonTools.check_column_headers(j) in commonTools.tagColumns or "ipv6" in j.lower() or "Hub/Spoke" in j:
464464
continue
465465
else:
466466
log(f'ROW {count+2} : Empty value at column "{j}".')

0 commit comments

Comments
 (0)