Skip to content

Commit

Permalink
[DM]: Fix for recent regression issue, ip_alloc issue
Browse files Browse the repository at this point in the history
This is regression issue introduced after changing the prototype of ip_alloc API.

Change-Id: I2cc7a9a42157a25c2649e56be6906189be8a9f19
Closes-Bug: #1646344
  • Loading branch information
sbalineni committed Dec 1, 2016
1 parent dd4efda commit 0a1bbe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/device-manager/device_manager/db.py
Expand Up @@ -293,6 +293,7 @@ def evaluate_vn_irb_ip_map(self, vn_set, fwd_mode, ip_used_for, ignore_external=

for vn_subnet in create_set:
(vn_uuid, subnet_prefix) = vn_subnet.split(':', 1)
vn = VirtualNetworkDM.get(vn_uuid)
subnet_uuid = vn.gateways[subnet_prefix].get('subnet_uuid')
(sub, length) = subnet_prefix.split('/')
ip_addr = self.reserve_ip(vn_uuid, subnet_uuid)
Expand Down

0 comments on commit 0a1bbe0

Please sign in to comment.