Optimize add security group rules for exposed ports
Bug #1627922 reported by
Dongcan Ye
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
Fix Released
|
Medium
|
Dongcan Ye |
Bug Description
If user wants to expose ranges of ports for a container, like ports from 1000 to 5000. Using docker client command:
$ docker run --net=my_kuryr_net --expose=
In currently implementation, we should call Neutron client 4000 times to create Neutron security group rules.
Maybe there is a method to optimize this, and passing port-range-min and port-range-max values to Neutron client.
Changed in kuryr-libnetwork: | |
assignee: | nobody → Dongcan Ye (hellochosen) |
Changed in kuryr-libnetwork: | |
importance: | Undecided → Medium |
description: | updated |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/378485
Review: https:/