Adding/using default subnet pools to configuration

Bug #1542026 reported by Mohammad Banikazemi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Released
Medium
vikas choudhary

Bug Description

Currently we expect to receive the default subnet pools through environment variables only as indicated in controllers.py:

# TODO(tfukushima): Retrieve the following subnet names from the config file.
SUBNET_POOLS_V4 = [
    p.strip() for p in os.environ.get('SUBNET_POOLS_V4', 'kuryr').split(',')]
SUBNET_POOLS_V6 = [
    p.strip() for p in os.environ.get('SUBNET_POOLS_V6', 'kuryr6').split(',')]

Tags: ipam
Revision history for this message
Abhishek Raut (abhraut) wrote :

Subnetpool names to be provided by config only or they are to be set by environment variables if not provided in config?

Changed in kuryr:
assignee: nobody → vikas choudhary (choudharyvikas16)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/330471

Changed in kuryr:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr (master)

Reviewed: https://review.openstack.org/330471
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=54448b0175561f5538881e52dd4f533c322df923
Submitter: Jenkins
Branch: master

commit 54448b0175561f5538881e52dd4f533c322df923
Author: vikaschoudhary16 <email address hidden>
Date: Thu Jun 16 16:36:59 2016 +0530

    Add default subnetpools to configuration

    Currently default subnetpools expected to be configured
    using environment variables. This is being moved to configuration
    file.

    Change-Id: I15562a0e479ff847b764e18eb286dc3565188a64
    Closes-bug: #1542026

Changed in kuryr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.