0
I'm new to OpenStack and currently interested in the Neutron part of it. What I'm seeking is some advice about how to utilize Neutron independently, to build a virtual network, for Docker containers maybe.
Suppose I've already got Neutron and Keystone installed on controller node and compute nodes. I guess the following steps are required to test a virtual network (imaging myself as Nova).
- create a network
- create a subnet
- create two pairs of veths (each pair represents a vm/container)
for each pair of them:
- create a port for one end of the veth pair (passing veth's mac address as a parameter)
- attach another end of the veth pair to ovs bridge
- ping from one veth pair to another
The above is my general idea, don't know if it is correct and don't know the operation details either.
Expecting your suggestions, any links are appreciated.
But ... Docker already has that functionality from what I understand? – Seth – 2017-05-10T10:01:24.967
@Seth Oh? Can you paste any links? – dastan – 2017-05-12T02:45:29.060
Docker Docs just look for the networking options. Docker already uses virtual networking on the host. It's not really clear what your actual goal here would be. – Seth – 2017-05-12T05:22:52.373
@Seth Ah. I'm not making it clear. Yes Docker has several networking options support, while I'm seeking a way that using Neutron to create port, security groups, qos, etc, and, letting Docker containers use those ports managed by Neutron. – dastan – 2017-05-12T08:09:34.237