Skip to content

Commit 6792347

Browse files
Merge pull request #11 from Calsoft-Pvt-Ltd/1165_IP_Overlap_Datacenter_Fix
1165: Ip overlap datacenter fix
2 parents 85645af + e71f4c9 commit 6792347

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/core/vcd/vcdOperations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6175,6 +6175,10 @@ def createOrgvDCGroup(self, sourceOrgVDCName, vcdObjList):
61756175
if not conflictNetworks:
61766176
conflictNetworks = []
61776177

6178+
# Fetching name of all the conflicting networks
6179+
if conflictNetworks:
6180+
conflictingNetworksName = [network['name'] for network in conflictNetworks]
6181+
61786182
# Fetch data center group id from metadata
61796183
ownerIds = self.rollback.apiData.get('OrgVDCGroupID', {})
61806184
# Check if DFW is configured on source org vdc id
@@ -6262,10 +6266,6 @@ def createOrgvDCGroup(self, sourceOrgVDCName, vcdObjList):
62626266
elif [network for network in orgVdcNetworks if network['shared']]:
62636267
logger.info('Org VDC group is getting created for shared networks')
62646268

6265-
# Fetching name of all the conflicting networks
6266-
if conflictNetworks:
6267-
conflictingNetworksName = [network['name'] for network in conflictNetworks]
6268-
62696269
# Creating DC Group for routed shared networks
62706270
for targetNetwork in targetOrgVDCNetworks:
62716271
for network in orgVdcNetworks:

src/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
Build: v1.4.2.2_bug_fix
3-
ReleaseDate: 2023-12-21
2+
Build: v1.4.2.2.H001
3+
ReleaseDate: 2024-08-02

0 commit comments

Comments
 (0)