When a specific address is requested during the docker run
such as the following command:
docker run -it --net=kuryr_net --ip=10.0.0.5 ubuntu
if a port in the corresponding subnet with the requested ip
address already exists and it is unbound, that port is used
for the container.
Change-Id: Ia3db8c979dff279ac8ba5f6c13625e40b8cf0fd7
be specified through the "docker run" command:
docker run --net=my_kuryr_net --expose=1234-1238/udp -it ubuntu
This patch set implements this feature by using Neutron security
groups.
Closed-Bug: #1569142
Change-Id: Ib7e1fd4de66a7bf69d59a3bd711994b935270b66
1. Drop the common(COE agnostic) code such as binding, exceptions
2. Renamed kuryr-libnetwork/kuryr to kuryr-libnetwork/kuryr_libnetwork
3. change default kuryr port from 2377 to 23750
4. Add Kuryr-lib(Kuryr) to requirements.txt:
Kuryr-lib(Kuryr) has also been cleaned to remove libnetwork specific
code(which is active in this repo such as libnetwork api handlers and
test cases). This patch is under review, [1]_. Meanwhile kuryr-lib
dependency is being resolved from external repo [2]. Exacltly same
changes, as present in under review kuryr-lib patch [1], are there on
external repo, [2]
[1] https://review.openstack.org/#/c/336784/
[2] https://github.com/vikaschoudhary16/kuryr/tree/drop_libnet_specific_code
Implements blueprint common-code-drop
Change-Id: If0823791463011dc395cd3390a7f4c187c9c2653