diff --git a/cd3_automation_toolkit/Network/BaseNetwork/export_network_nonGreenField.py b/cd3_automation_toolkit/Network/BaseNetwork/export_network_nonGreenField.py index 2660f7e83..bc53e929f 100644 --- a/cd3_automation_toolkit/Network/BaseNetwork/export_network_nonGreenField.py +++ b/cd3_automation_toolkit/Network/BaseNetwork/export_network_nonGreenField.py @@ -677,7 +677,7 @@ def export_major_objects(inputfile, outdir, service_dir, config, signer, ct, exp elif attach_type.upper() == "REMOTE_PEERING_CONNECTION" and rpc_execution: #Skip RPCs to other tenancies rpc = vnc.get_remote_peering_connection(attach_id).data - if (rpc.lifecycle_state != 'AVAILABLE' or rpc.is_cross_tenancy_peering != 'false'): + if (rpc.lifecycle_state != 'AVAILABLE' or rpc.is_cross_tenancy_peering != False): continue # Fetch RPC Details @@ -1118,4 +1118,4 @@ def export_networking(inputfile, outdir, service_dir, config, signer, ct, export export_drg_routetable(inputfile, outdir, service_dir_network, config1=config, signer1=signer, ct=ct, export_compartments=export_compartments, export_regions=export_regions, _tf_import_cmd=True) # Fetch NSGs - export_nsg(inputfile, outdir, service_dir_nsg, config=config, signer=signer, ct=ct, export_compartments=export_compartments, export_regions=export_regions, _tf_import_cmd=True) \ No newline at end of file + export_nsg(inputfile, outdir, service_dir_nsg, config=config, signer=signer, ct=ct, export_compartments=export_compartments, export_regions=export_regions, _tf_import_cmd=True)