Public bug reported: Problem : OpenStack has down time to establish the ports for DHCP by creating subnet ("enable_dhcp":true), I can not control and know which IP is going to be or apply as DHCP agents. The response can't provide the specific IP which is selected as Attached Device(network:dhcp) immediatly. In my observations and experiments, create the subnet with multiple allocation Pools, the IP will be used as DHCP agents randomly by different allocation pools. I need to use the Get /v2.0/ports to map the networks and subnets repeatly until the first IP is show up in the repsonse.
If there's a way let us know which IP is used as DHCP agents by multiple allocation Pools after geting the response by creating the subnet. ------ I sent a post which references the Networking API v2.0 to create a subnet within multiple allocation Pools by the network, and I also enable DHCP with ture. version: mitaka POST /v2.0/subnets #Response {"subnet":{"allocation_pools":[ {"start":"172.18.0.1","end":"172.18.0.10"}, {"start":"172.18.0.20","end":"172.18.0.30"}], "ipv6_address_mode":null, "tenant_id":"b3746b09cacb421cba95ce1afd380762", "subnetpool_id":null, "gateway_ip":"172.18.0.254", "cidr":"172.18.0.0/24", "id":"73b8ffaa-6fed-425a-b00b-fb75dffdaa57", "updated_at":"2018-01-03T04:18:22", "network_id":"0926e907-8e69-4231-ae2f-a051b2d77bf2", "dns_nameservers":["8.8.8.8"], "description":"","name":"", "enable_dhcp":true, "created_at":"2018-01-03T04:18:22","ipv6_ra_mode":null,"host_routes":[],"ip_version":4}} -------- ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1740998 Title: DHCP Agents of multiple Allocation Pools Status in neutron: New Bug description: Problem : OpenStack has down time to establish the ports for DHCP by creating subnet ("enable_dhcp":true), I can not control and know which IP is going to be or apply as DHCP agents. The response can't provide the specific IP which is selected as Attached Device(network:dhcp) immediatly. In my observations and experiments, create the subnet with multiple allocation Pools, the IP will be used as DHCP agents randomly by different allocation pools. I need to use the Get /v2.0/ports to map the networks and subnets repeatly until the first IP is show up in the repsonse. If there's a way let us know which IP is used as DHCP agents by multiple allocation Pools after geting the response by creating the subnet. ------ I sent a post which references the Networking API v2.0 to create a subnet within multiple allocation Pools by the network, and I also enable DHCP with ture. version: mitaka POST /v2.0/subnets #Response {"subnet":{"allocation_pools":[ {"start":"172.18.0.1","end":"172.18.0.10"}, {"start":"172.18.0.20","end":"172.18.0.30"}], "ipv6_address_mode":null, "tenant_id":"b3746b09cacb421cba95ce1afd380762", "subnetpool_id":null, "gateway_ip":"172.18.0.254", "cidr":"172.18.0.0/24", "id":"73b8ffaa-6fed-425a-b00b-fb75dffdaa57", "updated_at":"2018-01-03T04:18:22", "network_id":"0926e907-8e69-4231-ae2f-a051b2d77bf2", "dns_nameservers":["8.8.8.8"], "description":"","name":"", "enable_dhcp":true, "created_at":"2018-01-03T04:18:22","ipv6_ra_mode":null,"host_routes":[],"ip_version":4}} -------- To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1740998/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp