Skip to content

Commit

Permalink
Initialize no_alloc_pool
Browse files Browse the repository at this point in the history
Change-Id: I89355e83f366761a51922f470572d74950c00fed
Closes-Bug: #1592211
  • Loading branch information
Megh Bhatt committed Jun 14, 2016
1 parent 93f8594 commit 278a48a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/api-server/vnc_addr_mgmt.py
Expand Up @@ -245,6 +245,7 @@ def __init__(self, name, prefix, prefix_len,
ip_alloc_unit)

# if allocation-pool is not specified, create one with entire cidr
no_alloc_pool = False
if not alloc_pool_list:
alloc_pool_list = [{'start': str(IPAddress(network.first)),
'end': str(IPAddress(network.last-1))}]
Expand Down

0 comments on commit 278a48a

Please sign in to comment.